diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e9d4b5..b97b30e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [0.5.8] - 2026-02-02 + +### Added + +- `plugin init` 命令现在会自动从用户会话中获取 `organizationId` 并写入 `.env` 文件 +- 插件模板新增 `lang` 属性配置 +- 新增 `.env.eta` 模板,包含 `HUB_WS_URL` 默认值 + +### Changed + +- 环境变量重命名: + - `DEBUG_API_KEY` → `HUB_DEBUG_API_KEY` + - `ORGANIZATION_ID` → `HUB_ORGANIZATION_ID` + +### Breaking Changes + +- 环境变量名称已更改,使用旧版本创建的插件需要手动更新 `.env` 文件中的变量名 + ## [0.5.7] - 2026-01-21 ### Added @@ -193,7 +211,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.7...HEAD +[Unreleased]: https://github.com/choice-open/atomemo-plugin-cli/compare/v0.5.8...HEAD +[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 [0.5.5]: https://github.com/choice-open/atomemo-plugin-cli/compare/v0.5.4...v0.5.5 diff --git a/README.md b/README.md index c7e7f50..41a3215 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.8/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.8/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.8/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=