Files
iris-context/commands/ops/ampx.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

57 lines
3.1 KiB
Go

package ops
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ampx",
Description: "CLI for Amplify Gen 2",
Subcommands: []core.Subcommand{
{Name: "sandbox", Description: "Deploy to your personal cloud sandbox"},
{Name: "delete", Description: "Delete your personal cloud sandbox"},
{Name: "secret", Description: "Manage backend secrets for your personal cloud sandbox"},
{Name: "set", Description: "Set a secret"},
{Name: "remove", Description: "Remove a secret"},
{Name: "list", Description: "List all available secrets"},
{Name: "get", Description: "View details of a secret"},
{Name: "generate", Description: "Generate supplemental information or code"},
{Name: "outputs", Description: "Generate backend outputs file"},
{Name: "graphql-client-code", Description: "Generate GraphQL statements and types"},
{Name: "forms", Description: "Generate React form components"},
{Name: "info", Description: "Generate system information for troubleshooting"},
{Name: "pipeline-deploy", Description: "Deploy Amplify project in a CI/CD pipeline"},
},
Options: []core.Option{
{Name: "--dir-to-watch", Description: "Directory to watch for file changes"},
{Name: "--exclude", Description: "Paths or glob patterns to ignore"},
{Name: "--identifier", Description: "Name to distinguish between sandbox environments"},
{Name: "--outputs-out-dir", Description: "Directory where client config file is written"},
{Name: "--outputs-format", Description: "Format of the client config file"},
{Name: "--outputs-version", Description: "Version of the configuration"},
{Name: "--profile", Description: "AWS profile name"},
{Name: "--stream-function-logs", Description: "Stream function execution logs"},
{Name: "--logs-filter", Description: "Regex pattern to filter logs"},
{Name: "--logs-out-file", Description: "File to append streaming logs"},
{Name: "--name", Description: "Name to distinguish between sandbox environments"},
{Name: "-y", Description: "Do not ask for confirmation before deleting"},
{Name: "--format", Description: "Format of the configuration"},
{Name: "--out-dir", Description: "Directory where config is written"},
{Name: "--branch", Description: "Git branch name"},
{Name: "--app-id", Description: "Amplify App ID"},
{Name: "--out", Description: "Directory where config is written"},
{Name: "--model-target", Description: "Modelgen export target"},
{Name: "--statement-target", Description: "Graphql codegen statement export target"},
{Name: "--type-target", Description: "Graphql-codegen type export target"},
{Name: "--all", Description: "Show hidden options"},
{Name: "--debug", Description: "Print debug logs to the console"},
{Name: "--statement-max-depth", Description: "Maximum depth of the generated GraphQL statements"},
{Name: "--models", Description: "Model names to generate"},
{Name: "--stack", Description: "CloudFormation stack name"},
{Name: "--help", Description: "Display help information"},
{Name: "--version", Description: "Display version information"},
},
})
}