├── .github ├── assets │ └── ClercCard.png ├── pull.yml └── workflows │ ├── autofix-ci.yml │ ├── conventional-ci.yml │ ├── lock.yml │ ├── release-commit.yml │ └── release.yml ├── .gitignore ├── .node-version ├── .npmrc ├── .prettierignore ├── .tazerc.json ├── .vscode ├── extensions.json └── settings.json ├── LICENSE ├── README.md ├── changelogithub.config.ts ├── docs ├── .vitepress │ ├── config │ │ ├── en.ts │ │ ├── index.ts │ │ ├── shared.ts │ │ └── zh.ts │ ├── plugins │ │ └── markdown-transform.ts │ ├── scripts │ │ └── generate-reference.ts │ ├── theme │ │ ├── index.ts │ │ └── style.css │ └── utils │ │ └── navigation.ts ├── guide │ ├── advanced.md │ ├── commands.md │ ├── context.md │ ├── error-handling.md │ ├── flags.md │ ├── getting-started.md │ ├── global-flags.md │ ├── interceptors.md │ ├── parameters.md │ ├── plugins.md │ └── types.md ├── index.md ├── members │ └── index.md ├── official-plugins │ ├── plugin-completions.md │ ├── plugin-friendly-error.md │ ├── plugin-help.md │ ├── plugin-not-found.md │ ├── plugin-strict-flags.md │ └── plugin-version.md ├── package.json ├── public │ ├── Banner.webp │ ├── black.webp │ ├── logo.png │ ├── logo.webp │ └── white.webp ├── tsconfig.json ├── uno.config.ts └── zh │ ├── guide │ ├── advanced.md │ ├── commands.md │ ├── context.md │ ├── error-handling.md │ ├── flags.md │ ├── getting-started.md │ ├── global-flags.md │ ├── interceptors.md │ ├── parameters.md │ ├── plugins.md │ └── types.md │ ├── index.md │ ├── members │ └── index.md │ └── official-plugins │ ├── plugin-completions.md │ ├── plugin-friendly-error.md │ ├── plugin-help.md │ ├── plugin-not-found.md │ ├── plugin-strict-flags.md │ └── plugin-version.md ├── eslint.config.mjs ├── examples ├── bumpp │ └── index.mts └── greeting │ └── index.mts ├── package.json ├── packages ├── clerc │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── re-exports.ts │ └── test │ │ └── clerc.test.ts ├── core │ ├── README.md │ ├── package.json │ ├── src │ │ ├── cli.ts │ │ ├── commands.ts │ │ ├── errors.ts │ │ ├── flag-types.ts │ │ ├── helpers.ts │ │ ├── ignore.ts │ │ ├── index.ts │ │ ├── interceptor.ts │ │ ├── parameters.ts │ │ ├── platform.ts │ │ ├── plugin.ts │ │ ├── types │ │ │ ├── clerc.ts │ │ │ ├── command.ts │ │ │ ├── context.ts │ │ │ ├── flag.ts │ │ │ ├── index.ts │ │ │ ├── interceptor.ts │ │ │ ├── parameters.ts │ │ │ └── plugin.ts │ │ └── utils.ts │ └── test │ │ ├── cli.test.ts │ │ ├── ignore.test.ts │ │ ├── parameters.test.ts │ │ └── types.test-d.ts ├── parser │ ├── README.md │ ├── bench │ │ └── bench.bench.ts │ ├── package.json │ ├── src │ │ ├── config.ts │ │ ├── errors.ts │ │ ├── flag-types.ts │ │ ├── index.ts │ │ ├── iterator.ts │ │ ├── parse.ts │ │ ├── types.ts │ │ └── utils.ts │ └── test │ │ ├── flag-types.test.ts │ │ ├── parser.test.ts │ │ └── types.test-d.ts ├── plugin-completions │ ├── README.md │ ├── package.json │ ├── src │ │ ├── complete.ts │ │ └── index.ts │ └── test │ │ ├── commands.test.ts │ │ ├── complete.test.ts │ │ └── plugin-completions.test.ts ├── plugin-friendly-error │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.ts │ └── test │ │ └── plugin-friendly-error.test.ts ├── plugin-help │ ├── README.md │ ├── package.json │ ├── src │ │ ├── formatters.ts │ │ ├── index.ts │ │ ├── renderer.ts │ │ ├── types.ts │ │ └── utils.ts │ └── test │ │ ├── __snapshots__ │ │ └── plugin-help.test.ts.snap │ │ └── plugin-help.test.ts ├── plugin-not-found │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.ts │ └── test │ │ └── plugin-not-found.test.ts ├── plugin-strict-flags │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.ts │ └── test │ │ └── plugin-strict-flags.test.ts ├── plugin-version │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.ts │ └── test │ │ └── plugin-version.test.ts ├── test-utils │ ├── package.json │ └── src │ │ └── index.ts └── utils │ ├── package.json │ └── src │ ├── index.ts │ └── types │ ├── index.ts │ └── type-fest.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── prettier.config.mjs ├── renovate.json ├── test └── setup.ts ├── tsconfig.base.json ├── tsconfig.isolated.json ├── tsconfig.json ├── tsconfig.non-isolated.json ├── tsdown.config.ts └── vite.config.ts /.github/assets/ClercCard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/.github/assets/ClercCard.png -------------------------------------------------------------------------------- /.github/pull.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/.github/pull.yml -------------------------------------------------------------------------------- /.github/workflows/autofix-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/.github/workflows/autofix-ci.yml -------------------------------------------------------------------------------- /.github/workflows/conventional-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/.github/workflows/conventional-ci.yml -------------------------------------------------------------------------------- /.github/workflows/lock.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/.github/workflows/lock.yml -------------------------------------------------------------------------------- /.github/workflows/release-commit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/.github/workflows/release-commit.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/.gitignore -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | lts/* 2 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | ignore-workspace-root-check=true 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | pnpm-lock.yaml 2 | *.snap 3 | -------------------------------------------------------------------------------- /.tazerc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["dbaeumer.vscode-eslint"] 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/README.md -------------------------------------------------------------------------------- /changelogithub.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/changelogithub.config.ts -------------------------------------------------------------------------------- /docs/.vitepress/config/en.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/.vitepress/config/en.ts -------------------------------------------------------------------------------- /docs/.vitepress/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/.vitepress/config/index.ts -------------------------------------------------------------------------------- /docs/.vitepress/config/shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/.vitepress/config/shared.ts -------------------------------------------------------------------------------- /docs/.vitepress/config/zh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/.vitepress/config/zh.ts -------------------------------------------------------------------------------- /docs/.vitepress/plugins/markdown-transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/.vitepress/plugins/markdown-transform.ts -------------------------------------------------------------------------------- /docs/.vitepress/scripts/generate-reference.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/.vitepress/scripts/generate-reference.ts -------------------------------------------------------------------------------- /docs/.vitepress/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/.vitepress/theme/index.ts -------------------------------------------------------------------------------- /docs/.vitepress/theme/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/.vitepress/theme/style.css -------------------------------------------------------------------------------- /docs/.vitepress/utils/navigation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/.vitepress/utils/navigation.ts -------------------------------------------------------------------------------- /docs/guide/advanced.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/advanced.md -------------------------------------------------------------------------------- /docs/guide/commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/commands.md -------------------------------------------------------------------------------- /docs/guide/context.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/context.md -------------------------------------------------------------------------------- /docs/guide/error-handling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/error-handling.md -------------------------------------------------------------------------------- /docs/guide/flags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/flags.md -------------------------------------------------------------------------------- /docs/guide/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/getting-started.md -------------------------------------------------------------------------------- /docs/guide/global-flags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/global-flags.md -------------------------------------------------------------------------------- /docs/guide/interceptors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/interceptors.md -------------------------------------------------------------------------------- /docs/guide/parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/parameters.md -------------------------------------------------------------------------------- /docs/guide/plugins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/plugins.md -------------------------------------------------------------------------------- /docs/guide/types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/guide/types.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/members/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/members/index.md -------------------------------------------------------------------------------- /docs/official-plugins/plugin-completions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/official-plugins/plugin-completions.md -------------------------------------------------------------------------------- /docs/official-plugins/plugin-friendly-error.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/official-plugins/plugin-friendly-error.md -------------------------------------------------------------------------------- /docs/official-plugins/plugin-help.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/official-plugins/plugin-help.md -------------------------------------------------------------------------------- /docs/official-plugins/plugin-not-found.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/official-plugins/plugin-not-found.md -------------------------------------------------------------------------------- /docs/official-plugins/plugin-strict-flags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/official-plugins/plugin-strict-flags.md -------------------------------------------------------------------------------- /docs/official-plugins/plugin-version.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/official-plugins/plugin-version.md -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/public/Banner.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/public/Banner.webp -------------------------------------------------------------------------------- /docs/public/black.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/public/black.webp -------------------------------------------------------------------------------- /docs/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/public/logo.png -------------------------------------------------------------------------------- /docs/public/logo.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/public/logo.webp -------------------------------------------------------------------------------- /docs/public/white.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/public/white.webp -------------------------------------------------------------------------------- /docs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/tsconfig.json -------------------------------------------------------------------------------- /docs/uno.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/uno.config.ts -------------------------------------------------------------------------------- /docs/zh/guide/advanced.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/advanced.md -------------------------------------------------------------------------------- /docs/zh/guide/commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/commands.md -------------------------------------------------------------------------------- /docs/zh/guide/context.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/context.md -------------------------------------------------------------------------------- /docs/zh/guide/error-handling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/error-handling.md -------------------------------------------------------------------------------- /docs/zh/guide/flags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/flags.md -------------------------------------------------------------------------------- /docs/zh/guide/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/getting-started.md -------------------------------------------------------------------------------- /docs/zh/guide/global-flags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/global-flags.md -------------------------------------------------------------------------------- /docs/zh/guide/interceptors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/interceptors.md -------------------------------------------------------------------------------- /docs/zh/guide/parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/parameters.md -------------------------------------------------------------------------------- /docs/zh/guide/plugins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/plugins.md -------------------------------------------------------------------------------- /docs/zh/guide/types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/guide/types.md -------------------------------------------------------------------------------- /docs/zh/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/index.md -------------------------------------------------------------------------------- /docs/zh/members/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/members/index.md -------------------------------------------------------------------------------- /docs/zh/official-plugins/plugin-completions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/official-plugins/plugin-completions.md -------------------------------------------------------------------------------- /docs/zh/official-plugins/plugin-friendly-error.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/official-plugins/plugin-friendly-error.md -------------------------------------------------------------------------------- /docs/zh/official-plugins/plugin-help.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/official-plugins/plugin-help.md -------------------------------------------------------------------------------- /docs/zh/official-plugins/plugin-not-found.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/official-plugins/plugin-not-found.md -------------------------------------------------------------------------------- /docs/zh/official-plugins/plugin-strict-flags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/official-plugins/plugin-strict-flags.md -------------------------------------------------------------------------------- /docs/zh/official-plugins/plugin-version.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/docs/zh/official-plugins/plugin-version.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /examples/bumpp/index.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/examples/bumpp/index.mts -------------------------------------------------------------------------------- /examples/greeting/index.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/examples/greeting/index.mts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/package.json -------------------------------------------------------------------------------- /packages/clerc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/clerc/README.md -------------------------------------------------------------------------------- /packages/clerc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/clerc/package.json -------------------------------------------------------------------------------- /packages/clerc/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/clerc/src/index.ts -------------------------------------------------------------------------------- /packages/clerc/src/re-exports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/clerc/src/re-exports.ts -------------------------------------------------------------------------------- /packages/clerc/test/clerc.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/clerc/test/clerc.test.ts -------------------------------------------------------------------------------- /packages/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/README.md -------------------------------------------------------------------------------- /packages/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/package.json -------------------------------------------------------------------------------- /packages/core/src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/cli.ts -------------------------------------------------------------------------------- /packages/core/src/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/commands.ts -------------------------------------------------------------------------------- /packages/core/src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/errors.ts -------------------------------------------------------------------------------- /packages/core/src/flag-types.ts: -------------------------------------------------------------------------------- 1 | export { Enum, Range, Regex } from "@clerc/parser"; 2 | -------------------------------------------------------------------------------- /packages/core/src/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/helpers.ts -------------------------------------------------------------------------------- /packages/core/src/ignore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/ignore.ts -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/index.ts -------------------------------------------------------------------------------- /packages/core/src/interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/interceptor.ts -------------------------------------------------------------------------------- /packages/core/src/parameters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/parameters.ts -------------------------------------------------------------------------------- /packages/core/src/platform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/platform.ts -------------------------------------------------------------------------------- /packages/core/src/plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/plugin.ts -------------------------------------------------------------------------------- /packages/core/src/types/clerc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/types/clerc.ts -------------------------------------------------------------------------------- /packages/core/src/types/command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/types/command.ts -------------------------------------------------------------------------------- /packages/core/src/types/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/types/context.ts -------------------------------------------------------------------------------- /packages/core/src/types/flag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/types/flag.ts -------------------------------------------------------------------------------- /packages/core/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/types/index.ts -------------------------------------------------------------------------------- /packages/core/src/types/interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/types/interceptor.ts -------------------------------------------------------------------------------- /packages/core/src/types/parameters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/types/parameters.ts -------------------------------------------------------------------------------- /packages/core/src/types/plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/types/plugin.ts -------------------------------------------------------------------------------- /packages/core/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/src/utils.ts -------------------------------------------------------------------------------- /packages/core/test/cli.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/test/cli.test.ts -------------------------------------------------------------------------------- /packages/core/test/ignore.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/test/ignore.test.ts -------------------------------------------------------------------------------- /packages/core/test/parameters.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/test/parameters.test.ts -------------------------------------------------------------------------------- /packages/core/test/types.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/core/test/types.test-d.ts -------------------------------------------------------------------------------- /packages/parser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/README.md -------------------------------------------------------------------------------- /packages/parser/bench/bench.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/bench/bench.bench.ts -------------------------------------------------------------------------------- /packages/parser/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/package.json -------------------------------------------------------------------------------- /packages/parser/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/src/config.ts -------------------------------------------------------------------------------- /packages/parser/src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/src/errors.ts -------------------------------------------------------------------------------- /packages/parser/src/flag-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/src/flag-types.ts -------------------------------------------------------------------------------- /packages/parser/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/src/index.ts -------------------------------------------------------------------------------- /packages/parser/src/iterator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/src/iterator.ts -------------------------------------------------------------------------------- /packages/parser/src/parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/src/parse.ts -------------------------------------------------------------------------------- /packages/parser/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/src/types.ts -------------------------------------------------------------------------------- /packages/parser/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/src/utils.ts -------------------------------------------------------------------------------- /packages/parser/test/flag-types.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/test/flag-types.test.ts -------------------------------------------------------------------------------- /packages/parser/test/parser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/test/parser.test.ts -------------------------------------------------------------------------------- /packages/parser/test/types.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/parser/test/types.test-d.ts -------------------------------------------------------------------------------- /packages/plugin-completions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-completions/README.md -------------------------------------------------------------------------------- /packages/plugin-completions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-completions/package.json -------------------------------------------------------------------------------- /packages/plugin-completions/src/complete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-completions/src/complete.ts -------------------------------------------------------------------------------- /packages/plugin-completions/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-completions/src/index.ts -------------------------------------------------------------------------------- /packages/plugin-completions/test/commands.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-completions/test/commands.test.ts -------------------------------------------------------------------------------- /packages/plugin-completions/test/complete.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-completions/test/complete.test.ts -------------------------------------------------------------------------------- /packages/plugin-completions/test/plugin-completions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-completions/test/plugin-completions.test.ts -------------------------------------------------------------------------------- /packages/plugin-friendly-error/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-friendly-error/README.md -------------------------------------------------------------------------------- /packages/plugin-friendly-error/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-friendly-error/package.json -------------------------------------------------------------------------------- /packages/plugin-friendly-error/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-friendly-error/src/index.ts -------------------------------------------------------------------------------- /packages/plugin-friendly-error/test/plugin-friendly-error.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-friendly-error/test/plugin-friendly-error.test.ts -------------------------------------------------------------------------------- /packages/plugin-help/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-help/README.md -------------------------------------------------------------------------------- /packages/plugin-help/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-help/package.json -------------------------------------------------------------------------------- /packages/plugin-help/src/formatters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-help/src/formatters.ts -------------------------------------------------------------------------------- /packages/plugin-help/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-help/src/index.ts -------------------------------------------------------------------------------- /packages/plugin-help/src/renderer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-help/src/renderer.ts -------------------------------------------------------------------------------- /packages/plugin-help/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-help/src/types.ts -------------------------------------------------------------------------------- /packages/plugin-help/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-help/src/utils.ts -------------------------------------------------------------------------------- /packages/plugin-help/test/__snapshots__/plugin-help.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-help/test/__snapshots__/plugin-help.test.ts.snap -------------------------------------------------------------------------------- /packages/plugin-help/test/plugin-help.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-help/test/plugin-help.test.ts -------------------------------------------------------------------------------- /packages/plugin-not-found/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-not-found/README.md -------------------------------------------------------------------------------- /packages/plugin-not-found/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-not-found/package.json -------------------------------------------------------------------------------- /packages/plugin-not-found/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-not-found/src/index.ts -------------------------------------------------------------------------------- /packages/plugin-not-found/test/plugin-not-found.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-not-found/test/plugin-not-found.test.ts -------------------------------------------------------------------------------- /packages/plugin-strict-flags/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-strict-flags/README.md -------------------------------------------------------------------------------- /packages/plugin-strict-flags/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-strict-flags/package.json -------------------------------------------------------------------------------- /packages/plugin-strict-flags/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-strict-flags/src/index.ts -------------------------------------------------------------------------------- /packages/plugin-strict-flags/test/plugin-strict-flags.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-strict-flags/test/plugin-strict-flags.test.ts -------------------------------------------------------------------------------- /packages/plugin-version/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-version/README.md -------------------------------------------------------------------------------- /packages/plugin-version/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-version/package.json -------------------------------------------------------------------------------- /packages/plugin-version/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-version/src/index.ts -------------------------------------------------------------------------------- /packages/plugin-version/test/plugin-version.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/plugin-version/test/plugin-version.test.ts -------------------------------------------------------------------------------- /packages/test-utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/test-utils/package.json -------------------------------------------------------------------------------- /packages/test-utils/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/test-utils/src/index.ts -------------------------------------------------------------------------------- /packages/utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/utils/package.json -------------------------------------------------------------------------------- /packages/utils/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/utils/src/index.ts -------------------------------------------------------------------------------- /packages/utils/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/utils/src/types/index.ts -------------------------------------------------------------------------------- /packages/utils/src/types/type-fest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/packages/utils/src/types/type-fest.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /prettier.config.mjs: -------------------------------------------------------------------------------- 1 | export { default } from "@so1ve/prettier-config"; 2 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["github>so1ve/renovate-config"] 3 | } 4 | -------------------------------------------------------------------------------- /test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/test/setup.ts -------------------------------------------------------------------------------- /tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/tsconfig.base.json -------------------------------------------------------------------------------- /tsconfig.isolated.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/tsconfig.isolated.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.non-isolated.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/tsconfig.non-isolated.json -------------------------------------------------------------------------------- /tsdown.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/tsdown.config.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clercjs/clerc/HEAD/vite.config.ts --------------------------------------------------------------------------------