-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): Add functionality to operate on Variables #514
feat(cli): Add functionality to operate on Variables #514
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Refactor code to improve error handling Co-authored-by: codiumai-pr-agent-free[bot] <138128286+codiumai-pr-agent-free[bot]@users.noreply.github.com>
## [2.7.0](v2.6.0...v2.7.0) (2024-11-05) ### 🚀 Features * **cli:** Add functionality to operate on Variables ([#514](#514)) ([32d93e6](32d93e6)) * **platform:** Create ui link for resend otp ([#489](#489)) ([46eb5c5](46eb5c5)) ### 🐛 Bug Fixes * **api,api-client:** Add environmentSlug in multiple places across the [secure] module ([#509](#509)) ([ee58f07](ee58f07)) * **cli:** Removed unnecessary console log in [secure]s ([#515](#515)) ([9403cc4](9403cc4)) ### 🔧 Miscellaneous Chores * Fixed lint issues ([835397a](835397a)) * Minor housekeeping ([922bf31](922bf31)) * Update eslint ([c583718](c583718)) * Update eslint ([7c0c596](7c0c596)) * Update pnpx commands to pnpm dlx ([#511](#511)) ([534a231](534a231))
🎉 This PR is included in version 2.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
User description
Description
Add functionality to operate on Variables
Fixes #301
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Enhancement
Description
VariableCommand
class to manage variables through the CLI, including subcommands for creating, deleting, listing, fetching revisions, rolling back, and updating variables.VariableCommand
into the CLI application, making it available for use.Changes walkthrough 📝
variable.command.ts
Add `VariableCommand` class for CLI variable operations
apps/cli/src/commands/variable.command.ts
VariableCommand
class extendingBaseCommand
.create.variable.ts
Implement `CreateVariable` command for CLI
apps/cli/src/commands/variable/create.variable.ts
CreateVariable
class for creating variables.delete.variable.ts
Implement `DeleteVariable` command for CLI
apps/cli/src/commands/variable/delete.variable.ts
DeleteVariable
class for deleting variables.list.variable.ts
Implement `ListVariable` command for CLI
apps/cli/src/commands/variable/list.variable.ts
ListVariable
class for listing variables.revisions.variable.ts
Implement `FetchVariableRevisions` command for CLI
apps/cli/src/commands/variable/revisions.variable.ts
FetchVariableRevisions
class for fetching variablerevisions.
rollback.variable.ts
Implement `RollbackVariable` command for CLI
apps/cli/src/commands/variable/rollback.variable.ts
RollbackVariable
class for rolling back variables.update.variable.ts
Implement `UpdateVariable` command for CLI
apps/cli/src/commands/variable/update.variable.ts
UpdateVariable
class for updating variables.index.ts
Integrate `VariableCommand` into CLI application
apps/cli/src/index.ts
VariableCommand
into the CLI application.VariableCommand
to the list of available commands.