aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat: add self-update command for mling魏曹先生26 hours1-0/+1
| | | | | | | | Add `mling update` to fetch the latest GitHub Actions artifact for the current platform, stage it as a tarball in the data directory, and apply it on the next wrapper invocation. The wrapper extracts the staged package over the installation directory while skipping the running executable, then removes the staged file.
* feat: add config command and resource for editing settings魏曹先生8 days1-0/+1
| | | | | Add a new `cfg` command to view and edit configuration items stored as key-value pairs in a JSON file.
* refactor(cli): move global help and completion to library魏曹先生8 days1-1/+31
| | | | | Move the global help and completion handlers from the CLI binary into the library crate so they can be reused by other entry points.
* chore: move CLI entry to bin and restructure imports魏曹先生8 days1-0/+13
Move the CLI binary from `src/main.rs` to `src/bin/cli.rs` and move shared program generation into a new lib.rs module.