Files
iris-context/commands/ops/cdk.go
T
VERSE 2ef3c90819 feat(commands): more commands (#30)
- I wrote a scripts to copy and generate all commands missing in iris
from fig repo: https://github.com/withfig/autocomplete
- Add a new script to generate commands docs about which commands
currently are inside commands folder
377d4aac663590e504fe39a92eb4dac4cbd333b2
- Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
2026-07-04 22:08:36 +07:00

34 lines
1.5 KiB
Go

package ops
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "cdk",
Description: "AWS CDK CLI",
Subcommands: []core.Subcommand{
{Name: "init", Description: "Create a new, empty CDK project from a template"},
{Name: "metadata", Description: "Returns all metadata associated with this stack"},
{Name: "doctor", Description: "Check your set-up for potential problems"},
{Name: "diff", Description: "Compares the specified stack with the deployed stack"},
{Name: "destroy", Description: "Destroy the specified stack(s)"},
{Name: "deploy", Description: "Deploy the specified stack(s) into your AWS account"},
{Name: "bootstrap", Description: "Deploys the CDK toolkit stack into an AWS environment"},
{Name: "synth", Description: "Synthesizes and prints the CloudFormation template for this stack"},
{Name: "ls", Description: "List all stacks in the app"},
{Name: "import", Description: "Import existing resource(s) into the given STACK"},
{Name: "watch", Description: "Shortcut for 'deploy --watch'"},
{Name: "ack", Description: "Acknowledge a notice so that it does not show up anymore"},
{Name: "notices", Description: "Returns a list of relevant notices"},
{Name: "context", Description: "Manage cached context values"},
{Name: "doc", Description: "Opens the reference documentation in a browser"},
},
Options: []core.Option{
{Name: "--version", Description: "The current version"},
{Name: "-h", Description: "Show help"},
},
})
}