Skip to content

Commit

Permalink
Added yargs to list of popular alternatives in /docs
Browse files Browse the repository at this point in the history
Signed-off-by: Daveed <daveed@santocabron.com>
  • Loading branch information
Daveed committed Oct 20, 2024
1 parent 86a5542 commit 35b3f14
Showing 1 changed file with 6 additions and 0 deletions.
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

0 comments on commit 35b3f14

Please sign in to comment.