Simple yet powerful framework for building command-line apps. Command And Conquer is a JavaScript library for building CLI apps. Super light-weight: No dependency, just a single file. Easy to learn. There's only 4 APIs you need to learn for building simple CLIs: cli.option cli.version cli.help cli.parse. Yet so powerful. Enable features like default commands, git-like subcommands, validation for required arguments and options, variadic arguments, dot-nested options, automated help message generation, and so on. Developer friendly. Written in TypeScript. When using brackets in the command name, angled brackets indicate required command arguments, while square brackets indicate optional arguments. Create a CLI instance, optionally specify the program name which will be used to display in help and version message. When not set we use the basename of argv[1].

Features

  • Written in TypeScript
  • Super light-weight
  • Easy to learn
  • Enable features like default command, git-like subcommands, validation for required arguments and options
  • Command And Conquer is a JavaScript library for building CLI apps
  • No dependency, just a single file

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow CAC

CAC Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CAC!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Frameworks

Registered

2022-11-23