Kricsleo
Kricsleo
resolves #282
resolves #185 This PR changes the `require` from dynamic variables to static strings to avoid bundle issues. It shouldn't affect runtime behavior, so it should be safe to merge ❤️
## Problem Using runtime dynamic variables in `require()` calls prevents analysis tools (especially [@vercel/nft](https://github.com/vercel/nft)) from correctly analyzing dependencies, leading to missing files in the build output and runtime errors. (From...
resolves https://github.com/unjs/citty/issues/201 This PR adds support for warning about unknown options. This is enabled by default but can be disabled by setting `meta.allowUnknownOptions: true`.
### Describe the feature Warn for unknown options could improve CLI usability and user experience. For example, git (and others) warns about unknown options: ``` $ git -k > unknown...
resolves #115 resolves #80 This PR adds support for `multiPositional`.
resolves #142 This PR changes the fallback for `string` & `number` args from `""` to `undefined`. This change enables differentiation between user-specified values, such as: `test --config` vs `test --config...
resolves #147 This PR aims to enhance the usage tips, making them more readable and less confusing. - Added `(Default: ...)` to descriptions when `default: ...` is set. - Moved...
resolves #145 This PR adds support for overriding `--version`/`--help` when a custom `version`/`help` argument is defined. If users define their own `version`/`help` argument, the default behavior (logging the version/showing usage)...
### Describe the feature Currently it uses `Object.defineProperty` to attach format info to the parsed object. How about using `WeakMap` to store/retrieve formats stored in a seperate global variable? ```ts...