Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added yargs to list of popular alternatives in /docs #16

Merged
merged 2 commits into from
Oct 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/docs/getting-started/alternatives.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ Vercel's `arg` is a very popular (20M+ weekly downloads at time of writing) libr

`cliffy` is different from the other solutions listed here as it creates REPL applications. Instead of a single executable that is run with different arguments, `cliffy` creates applications that interactively respond to user input to run multiple commands. It doesn't necessarily aim to satisfy the [clig.dev](https://clig.dev) guidelines as it is a different user experience, but its similarity to the other options warranted its inclusion in this list.

### [`yargs`](https://yargs.js.org/)

`yargs` is a powerful and flexible library with a simple API. It supports commands and grouped options, dynamically generated help menus, and bash-completion shortcuts. It has been adopted by some in the the Node.js ecosystem, with extensive documentation and community support.

It requires installing plugins and manual configuration to get TypeScript support, and the API is not as type-safe as Stricli. It also has a large number of dependencies, which can be a concern for some users.

## Popular Frameworks

### [`oclif`](https://oclif.io/) (salesforce)
Expand Down