├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .npmrc ├── license ├── package.json ├── readme.md ├── source ├── _app.tsx ├── generate-arguments.tsx ├── generate-command.tsx ├── generate-commands.tsx ├── generate-options.ts ├── index.ts ├── internal-types.ts ├── read-commands.ts ├── read-custom-app.ts └── types.ts ├── test ├── arguments.ts ├── commands.ts ├── fixtures │ ├── all-optional-options │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ ├── array-option │ │ ├── alias │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── required │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ └── value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ └── index.tsx │ ├── boolean-option │ │ ├── alias │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ └── negated │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ └── index.tsx │ ├── camelcase-argument │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ ├── camelcase-command │ │ ├── cli.ts │ │ └── commands │ │ │ ├── auth.tsx │ │ │ └── superDeploy.tsx │ ├── camelcase-option │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ ├── command-alias │ │ ├── cli.ts │ │ └── commands │ │ │ └── deploy.tsx │ ├── deeply-nested-commands │ │ ├── cli.ts │ │ └── commands │ │ │ ├── auth.tsx │ │ │ ├── deploy.tsx │ │ │ └── projects │ │ │ ├── create.tsx │ │ │ ├── index.ts │ │ │ ├── list.tsx │ │ │ └── servers │ │ │ ├── create.tsx │ │ │ ├── index.ts │ │ │ └── list.tsx │ ├── enum-argument │ │ ├── array-default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array-default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array-name │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional-array │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── required │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ └── variadic │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ └── index.tsx │ ├── enum-option │ │ ├── alias │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── required │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ └── value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ └── index.tsx │ ├── multiple-commands │ │ ├── cli.ts │ │ └── commands │ │ │ ├── auth.tsx │ │ │ └── deploy.tsx │ ├── nested-commands-custom-app │ │ ├── cli.ts │ │ └── commands │ │ │ ├── _app.tsx │ │ │ ├── auth.tsx │ │ │ ├── deploy.tsx │ │ │ └── servers │ │ │ ├── create.tsx │ │ │ ├── index.ts │ │ │ └── list.tsx │ ├── nested-commands │ │ ├── cli.ts │ │ └── commands │ │ │ ├── auth.tsx │ │ │ ├── deploy.tsx │ │ │ └── servers │ │ │ ├── create.tsx │ │ │ ├── index.ts │ │ │ └── list.tsx │ ├── number-argument │ │ ├── array-default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array-default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array-name │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional-array │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── required │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ └── variadic │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ └── index.tsx │ ├── number-option │ │ ├── alias │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── required │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ └── value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ └── index.tsx │ ├── set-option │ │ ├── alias │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── required │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ └── value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ └── index.tsx │ ├── single-command-custom-app │ │ ├── cli.ts │ │ └── commands │ │ │ ├── _app.tsx │ │ │ └── deploy.tsx │ ├── single-command │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ ├── single-default-command │ │ ├── cli.ts │ │ └── commands │ │ │ └── deploy.tsx │ ├── string-argument │ │ ├── array-default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array-default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array-name │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── array │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value-description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── default-value │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── description │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional-array │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── optional │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ ├── required │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ │ └── index.tsx │ │ └── variadic │ │ │ ├── cli.ts │ │ │ └── commands │ │ │ └── index.tsx │ └── string-option │ │ ├── alias │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ │ ├── default-value-description │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ │ ├── default-value │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ │ ├── description │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ │ ├── optional │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ │ ├── required │ │ ├── cli.ts │ │ └── commands │ │ │ └── index.tsx │ │ └── value-description │ │ ├── cli.ts │ │ └── commands │ │ └── index.tsx ├── helpers │ └── run.ts └── options.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/license -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/readme.md -------------------------------------------------------------------------------- /source/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/_app.tsx -------------------------------------------------------------------------------- /source/generate-arguments.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/generate-arguments.tsx -------------------------------------------------------------------------------- /source/generate-command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/generate-command.tsx -------------------------------------------------------------------------------- /source/generate-commands.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/generate-commands.tsx -------------------------------------------------------------------------------- /source/generate-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/generate-options.ts -------------------------------------------------------------------------------- /source/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/index.ts -------------------------------------------------------------------------------- /source/internal-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/internal-types.ts -------------------------------------------------------------------------------- /source/read-commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/read-commands.ts -------------------------------------------------------------------------------- /source/read-custom-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/read-custom-app.ts -------------------------------------------------------------------------------- /source/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/source/types.ts -------------------------------------------------------------------------------- /test/arguments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/arguments.ts -------------------------------------------------------------------------------- /test/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/commands.ts -------------------------------------------------------------------------------- /test/fixtures/all-optional-options/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/all-optional-options/cli.ts -------------------------------------------------------------------------------- /test/fixtures/all-optional-options/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/all-optional-options/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/array-option/alias/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/alias/cli.ts -------------------------------------------------------------------------------- /test/fixtures/array-option/alias/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/alias/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/array-option/default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/array-option/default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/array-option/default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/array-option/default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/array-option/description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/array-option/description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/array-option/optional/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/optional/cli.ts -------------------------------------------------------------------------------- /test/fixtures/array-option/optional/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/optional/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/array-option/required/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/required/cli.ts -------------------------------------------------------------------------------- /test/fixtures/array-option/required/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/required/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/array-option/value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/array-option/value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/array-option/value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/boolean-option/alias/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/alias/cli.ts -------------------------------------------------------------------------------- /test/fixtures/boolean-option/alias/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/alias/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/boolean-option/default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/boolean-option/default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/boolean-option/default/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/default/cli.ts -------------------------------------------------------------------------------- /test/fixtures/boolean-option/default/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/default/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/boolean-option/description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/boolean-option/description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/boolean-option/negated/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/negated/cli.ts -------------------------------------------------------------------------------- /test/fixtures/boolean-option/negated/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/boolean-option/negated/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/camelcase-argument/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/camelcase-argument/cli.ts -------------------------------------------------------------------------------- /test/fixtures/camelcase-argument/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/camelcase-argument/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/camelcase-command/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/camelcase-command/cli.ts -------------------------------------------------------------------------------- /test/fixtures/camelcase-command/commands/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/camelcase-command/commands/auth.tsx -------------------------------------------------------------------------------- /test/fixtures/camelcase-command/commands/superDeploy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/camelcase-command/commands/superDeploy.tsx -------------------------------------------------------------------------------- /test/fixtures/camelcase-option/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/camelcase-option/cli.ts -------------------------------------------------------------------------------- /test/fixtures/camelcase-option/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/camelcase-option/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/command-alias/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/command-alias/cli.ts -------------------------------------------------------------------------------- /test/fixtures/command-alias/commands/deploy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/command-alias/commands/deploy.tsx -------------------------------------------------------------------------------- /test/fixtures/deeply-nested-commands/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/deeply-nested-commands/cli.ts -------------------------------------------------------------------------------- /test/fixtures/deeply-nested-commands/commands/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/deeply-nested-commands/commands/auth.tsx -------------------------------------------------------------------------------- /test/fixtures/deeply-nested-commands/commands/deploy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/deeply-nested-commands/commands/deploy.tsx -------------------------------------------------------------------------------- /test/fixtures/deeply-nested-commands/commands/projects/create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/deeply-nested-commands/commands/projects/create.tsx -------------------------------------------------------------------------------- /test/fixtures/deeply-nested-commands/commands/projects/index.ts: -------------------------------------------------------------------------------- 1 | export const description = 'Manage projects'; 2 | -------------------------------------------------------------------------------- /test/fixtures/deeply-nested-commands/commands/projects/list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/deeply-nested-commands/commands/projects/list.tsx -------------------------------------------------------------------------------- /test/fixtures/deeply-nested-commands/commands/projects/servers/create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/deeply-nested-commands/commands/projects/servers/create.tsx -------------------------------------------------------------------------------- /test/fixtures/deeply-nested-commands/commands/projects/servers/index.ts: -------------------------------------------------------------------------------- 1 | export const description = 'Manage servers'; 2 | -------------------------------------------------------------------------------- /test/fixtures/deeply-nested-commands/commands/projects/servers/list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/deeply-nested-commands/commands/projects/servers/list.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array-default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array-default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array-default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array-default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array-default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array-default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array-default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array-default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array-name/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array-name/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array-name/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array-name/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/array/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/array/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/optional-array/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/optional-array/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/optional-array/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/optional-array/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/optional/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/optional/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/optional/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/optional/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/required/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/required/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/required/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/required/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-argument/variadic/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/variadic/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-argument/variadic/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-argument/variadic/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-option/alias/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/alias/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-option/alias/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/alias/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-option/default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-option/default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-option/default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-option/default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-option/description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-option/description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-option/optional/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/optional/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-option/optional/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/optional/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-option/required/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/required/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-option/required/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/required/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/enum-option/value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/enum-option/value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/enum-option/value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/multiple-commands/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/multiple-commands/cli.ts -------------------------------------------------------------------------------- /test/fixtures/multiple-commands/commands/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/multiple-commands/commands/auth.tsx -------------------------------------------------------------------------------- /test/fixtures/multiple-commands/commands/deploy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/multiple-commands/commands/deploy.tsx -------------------------------------------------------------------------------- /test/fixtures/nested-commands-custom-app/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands-custom-app/cli.ts -------------------------------------------------------------------------------- /test/fixtures/nested-commands-custom-app/commands/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands-custom-app/commands/_app.tsx -------------------------------------------------------------------------------- /test/fixtures/nested-commands-custom-app/commands/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands-custom-app/commands/auth.tsx -------------------------------------------------------------------------------- /test/fixtures/nested-commands-custom-app/commands/deploy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands-custom-app/commands/deploy.tsx -------------------------------------------------------------------------------- /test/fixtures/nested-commands-custom-app/commands/servers/create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands-custom-app/commands/servers/create.tsx -------------------------------------------------------------------------------- /test/fixtures/nested-commands-custom-app/commands/servers/index.ts: -------------------------------------------------------------------------------- 1 | export const description = 'Manage servers'; 2 | -------------------------------------------------------------------------------- /test/fixtures/nested-commands-custom-app/commands/servers/list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands-custom-app/commands/servers/list.tsx -------------------------------------------------------------------------------- /test/fixtures/nested-commands/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands/cli.ts -------------------------------------------------------------------------------- /test/fixtures/nested-commands/commands/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands/commands/auth.tsx -------------------------------------------------------------------------------- /test/fixtures/nested-commands/commands/deploy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands/commands/deploy.tsx -------------------------------------------------------------------------------- /test/fixtures/nested-commands/commands/servers/create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands/commands/servers/create.tsx -------------------------------------------------------------------------------- /test/fixtures/nested-commands/commands/servers/index.ts: -------------------------------------------------------------------------------- 1 | export const description = 'Manage servers'; 2 | -------------------------------------------------------------------------------- /test/fixtures/nested-commands/commands/servers/list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/nested-commands/commands/servers/list.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/array-default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array-default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/array-default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array-default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/array-default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array-default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/array-default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array-default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/array-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/array-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/array-name/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array-name/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/array-name/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array-name/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/array/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/array/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/array/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/optional-array/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/optional-array/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/optional-array/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/optional-array/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/optional/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/optional/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/optional/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/optional/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/required/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/required/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/required/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/required/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-argument/variadic/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/variadic/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-argument/variadic/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-argument/variadic/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-option/alias/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/alias/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-option/alias/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/alias/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-option/default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-option/default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-option/default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-option/default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-option/description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-option/description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-option/optional/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/optional/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-option/optional/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/optional/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-option/required/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/required/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-option/required/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/required/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/number-option/value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/number-option/value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/number-option/value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/set-option/alias/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/alias/cli.ts -------------------------------------------------------------------------------- /test/fixtures/set-option/alias/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/alias/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/set-option/default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/set-option/default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/set-option/default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/set-option/default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/set-option/description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/set-option/description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/set-option/optional/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/optional/cli.ts -------------------------------------------------------------------------------- /test/fixtures/set-option/optional/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/optional/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/set-option/required/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/required/cli.ts -------------------------------------------------------------------------------- /test/fixtures/set-option/required/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/required/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/set-option/value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/set-option/value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/set-option/value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/single-command-custom-app/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/single-command-custom-app/cli.ts -------------------------------------------------------------------------------- /test/fixtures/single-command-custom-app/commands/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/single-command-custom-app/commands/_app.tsx -------------------------------------------------------------------------------- /test/fixtures/single-command-custom-app/commands/deploy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/single-command-custom-app/commands/deploy.tsx -------------------------------------------------------------------------------- /test/fixtures/single-command/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/single-command/cli.ts -------------------------------------------------------------------------------- /test/fixtures/single-command/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/single-command/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/single-default-command/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/single-default-command/cli.ts -------------------------------------------------------------------------------- /test/fixtures/single-default-command/commands/deploy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/single-default-command/commands/deploy.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/array-default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array-default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/array-default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array-default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/array-default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array-default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/array-default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array-default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/array-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/array-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/array-name/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array-name/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/array-name/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array-name/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/array/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/array/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/array/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/optional-array/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/optional-array/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/optional-array/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/optional-array/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/optional/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/optional/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/optional/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/optional/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/required/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/required/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/required/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/required/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-argument/variadic/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/variadic/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-argument/variadic/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-argument/variadic/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-option/alias/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/alias/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-option/alias/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/alias/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-option/default-value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/default-value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-option/default-value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/default-value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-option/default-value/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/default-value/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-option/default-value/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/default-value/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-option/description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-option/description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/description/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-option/optional/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/optional/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-option/optional/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/optional/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-option/required/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/required/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-option/required/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/required/commands/index.tsx -------------------------------------------------------------------------------- /test/fixtures/string-option/value-description/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/value-description/cli.ts -------------------------------------------------------------------------------- /test/fixtures/string-option/value-description/commands/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/fixtures/string-option/value-description/commands/index.tsx -------------------------------------------------------------------------------- /test/helpers/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/helpers/run.ts -------------------------------------------------------------------------------- /test/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/test/options.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vadimdemedes/pastel/HEAD/tsconfig.json --------------------------------------------------------------------------------