bxmr

Crates.iobxmr
lib.rsbxmr
version23.1022.1
sourcesrc
created_at2023-03-05 11:44:06.372374
updated_at2023-10-22 00:31:49.298565
descriptiona CLI tool for managment BXM's code with rIME-Squirrel
homepagehttps://rs.101.so/dev/cli_bxmr.html
repositoryhttps://github.com/zhrust/BXMr
max_upload_size
id801257
size98,618
Zoom.Quiet (ZoomQuiet)

documentation

README

BXMr

BXM manager ~ a CLI tool for servicing code table of BXM under rIME-Squirrel 叕一个 CLI 工具为 rIME-Squirrel 维护 BXM 输入法码表而创立

bxmr_v0.23.312_usage


Command-line options

a CLI tool for managment BXM's code with rIME-Squirrel
BXMr Commands:
help   Print this message or the help of the given subcommand(s)
cfg    point where is u rIME base *.dict.yaml
env    check bind ENV setting, work with command:cfg
ver    echo current BXMr version info.
gen    re-generating .yaml -> ~/Library/Rime/[U BXM].yaml,config by command: cfg
seek   base code SEEK word is exist?
find   base word FIND code is exist?
upd    aaa 叒 <~ base code word UPGRADE the define in BXM
dele   aaa 叒 ~> base code word DELET the define from BXM
ahead  aaa 叒 => base code word UP the word define 1st in BXM

-----------------------------------------
BXMr Usage:
0: must setup .env for all Commands;
$ bxmr
BXMr> cfg yaml path/2/u/local/bxm4zq2mac.dict.yaml
        ~ point u rIME-Squirrel usage .yaml
>>> daily usage flow loop:
$ bxmr
BXMr> ?
... print this help

BXMr> seek aaa
.. seek the code is exist?
BXMr> upd aaa 叒
... if not exist, u can append it:
    $ bxmr upd aaa 叒
BXMr> find 叒
... or find the word's code is exist? ~> find 字词
BXMr> gen
... if enough now, must export to .yaml:

BXMr> dele   aaa 叒
... ~> base code word DELET the define from BXM
BXMr> ahead  aaa 叒
... => base code word UP the word define 1st in BXM

... if want research BXMr
BXMr> ahead  aaa 叒
... => base code word UP the word define 1st in BXM

... if want exit BXMr
BXMr> env
... check bind ENV setting, work with command:cfg
BXMr> ver
... echo current BXMr version info.


at last, always need usage rIME's re-deploy menu,
    for load new code-table .yaml,
    so we can enjoy new BXM now ;-)

Installation

Cargo

If you already have a Rust environment set up, you can use the cargo install command:

$ cargo install bxmr

Cargo will build the bxmr binary and place it in $HOME/.cargo.

Manual installation from GitHub

Compiled binary versions of bxmr are uploaded to GitHub when a release is made. You can install bxmr manually by downloading a release, extracting it, and copying the binary to a directory in your $PATH, such as /usr/local/bin.

For more information,

...TBD

Homebrew

..TBD

background

Animated Ferris - JSFiddle

logging

  • ...

  • 230312 ZQ canceled .toml, base memory speed daily updatting...

  • 230306 ZQ ++ahead ~ adjust word suggest order

  • 230304 ZQ push github

  • 230227 ZQ mod/clap/tracing/... define

  • 230225 ZQ re-re-re-init.

refer.

PS:

一切的源头: ZqBXM/Rime-Squirrel at master · ZoomQuiet/ZqBXM

goal

as Rustacean homework ...

as crate, can:

  • easy install
  • usage at local
  • support rIME's input code table management:
    • seek ~ base code check word is defined?

    • find ~ base word check code is exist?

    • upd ~ define new code-word and upgrade BXM-code table

    • delet ~ base code+word remove the define date and upgrade BXM-code table

    • gen ~ re-generating BXM-code table as .yaml, so rIME-Squirrel can re-built and reload new BXM for usage.

    • ...


          _~`~~~_
      \/ /  - <  \ ()
        '_   ▽   _'
        / '--#--' \

...act by ferris-actor v0.2.4 (built on 23.0303.201916)
Commit count: 33

cargo fmt