amplify-backend
amplify-backend copied to clipboard
backend CLI `help` command list is missing `--statement-max-depth` as an optional flag
Environment information
System:
OS: macOS 14.4.1
CPU: (12) arm64 Apple M2 Pro
Memory: 177.14 MB / 32.00 GB
Shell: /usr/local/bin/fish
Binaries:
Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
Yarn: 1.22.21 - /usr/local/bin/yarn
npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm
pnpm: undefined - undefined
NPM Packages:
@aws-amplify/backend: 1.0.2
@aws-amplify/backend-cli: 1.0.3
aws-amplify: 6.3.2
aws-cdk: 2.137.0
aws-cdk-lib: 2.137.0
typescript: 5.4.3
AWS environment variables:
AWS_STS_REGIONAL_ENDPOINTS = regional
AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables
Description
The backend CLI's help command output is missing --statement-max-depth as an optional flag on ampx generate graphql-client-code.
PR to add to docs: https://github.com/aws-amplify/docs/pull/7641
Marking this as bug to expose the option on generate help command.
it looks like quite a few of these options are hidden
we can potentially group some of these options instead https://yargs.js.org/docs/#api-reference-groupkeys-groupname
let's remove --all in favor of displaying all valid CLI options