diff --git a/CHANGELOG.md b/CHANGELOG.md index b97b30e..180e652 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [0.5.9] - 2026-02-02 + +### Changed + +- 模板重构:`demoTool` 的 `invoke` 方法改为使用结构化的 `ToolArgs` 接口,提升类型安全性 + ## [0.5.8] - 2026-02-02 ### Added @@ -211,7 +217,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/). - Code quality checks with Biome. - Automated release workflow via GitHub Actions. -[Unreleased]: https://github.com/choice-open/atomemo-plugin-cli/compare/v0.5.8...HEAD +[Unreleased]: https://github.com/choice-open/atomemo-plugin-cli/compare/v0.5.9...HEAD +[0.5.9]: https://github.com/choice-open/atomemo-plugin-cli/compare/v0.5.8...v0.5.9 [0.5.8]: https://github.com/choice-open/atomemo-plugin-cli/compare/v0.5.7...v0.5.8 [0.5.7]: https://github.com/choice-open/atomemo-plugin-cli/compare/v0.5.6...v0.5.7 [0.5.6]: https://github.com/choice-open/atomemo-plugin-cli/compare/v0.5.5...v0.5.6 diff --git a/README.md b/README.md index c7e7f50..6dd29a9 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,52 @@ USAGE * [`atomemo help [COMMAND]`](#atomemo-help-command) * [`atomemo version`](#atomemo-version) +## `atomemo auth login` + +Uses device authorization flow to login with your Choiceform account by following these steps: + +``` +USAGE + $ atomemo auth login + +DESCRIPTION + Uses device authorization flow to login with your Choiceform account by following these steps: + + 1. Request a validation code automatically + 2. Show the validation code and a verification URL to the user + 3. Open the verification URL in the user's browser and paste the verification code + 4. Submit the validation code to complete the device authorization flow + +EXAMPLES + Login by using device authorization flow + + $ atomemo auth login +``` + +_See code: [src/commands/auth/login.ts](https://github.com/choice-open/atomemo-plugin-cli/blob/v0.5.9/src/commands/auth/login.ts)_ + +## `atomemo auth status` + +Display the current authentication status. + +``` +USAGE + $ atomemo auth status + +DESCRIPTION + Display the current authentication status. + + Shows user information and session details if authenticated, + or prompts to login if not yet authenticated. + +EXAMPLES + Check current authentication status + + $ atomemo auth status +``` + +_See code: [src/commands/auth/status.ts](https://github.com/choice-open/atomemo-plugin-cli/blob/v0.5.9/src/commands/auth/status.ts)_ + ## `atomemo autocomplete [SHELL]` Display autocomplete installation instructions. @@ -119,6 +165,149 @@ DESCRIPTION _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.36/src/commands/help.ts)_ +## `atomemo plugin checksum [FILE]` + +describe the command here + +``` +USAGE + $ atomemo plugin checksum [FILE] [-f] [-n ] + +ARGUMENTS + [FILE] file to read + +FLAGS + -f, --force + -n, --name= name to print + +DESCRIPTION + describe the command here + +EXAMPLES + $ atomemo plugin checksum +``` + +_See code: [src/commands/plugin/checksum.ts](https://github.com/choice-open/atomemo-plugin-cli/blob/v0.5.9/src/commands/plugin/checksum.ts)_ + +## `atomemo plugin init` + +Initialize a new plugin with step-by-step interactive instructions. + +``` +USAGE + $ atomemo plugin init [-i] [-n my-awesome-plugin] [-d Descriptive text...] + [-u ] [-l elixir|python|typescript] + +FLAGS + -d, --description=Descriptive text... Short description + -i, --[no-]interactive Use interactive mode (by default) + -l, --language=