feature/github-email
claude/smbcloud-github-app-k9641p
development
feature/apps
feature/build-release
feature/ci-docs
feature/ci-ruby-gems
feature/cicd
feature/completion
feature/dist-nuget
feature/fix-ci-sdk-pypi-rubygem
feature/fix-clippy-on-stable-channel
feature/fix-deployment-script
feature/github-email
feature/gresiq-v1
feature/project-new-structure
feature/rsync-deploy
feature/ruby-runner
feature/sdk-npm
feature/sdk-workflows
feature/smbcloud-cli-release-npm
feature/smbcloud-deploy
feature/wasm
main
release/v0.7.4
| 1 | use clap::Subcommand; |
| 2 | |
| 3 | #[derive(Subcommand)] |
| 4 | pub enum Commands { |
| 5 | #[clap(about = "Add new project.")] |
| 6 | New {}, |
| 7 | |
| 8 | #[clap(about = "List all your projects.")] |
| 9 | List {}, |
| 10 | |
| 11 | #[clap(about = "Show detail of a project.")] |
| 12 | Show { |
| 13 | /// Project Id |
| 14 | #[clap(short, long, required = true)] |
| 15 | id: String, |
| 16 | }, |
| 17 | |
| 18 | #[clap(about = "Delete a project.")] |
| 19 | Delete { |
| 20 | /// Project name |
| 21 | #[clap(short, long, required = true)] |
| 22 | id: String, |
| 23 | }, |
| 24 | |
| 25 | #[clap(about = "Use project for current CLI session.")] |
| 26 | Use { |
| 27 | #[clap(short, long, required = true)] |
| 28 | id: String, |
| 29 | }, |
| 30 | } |