cac icon indicating copy to clipboard operation
cac copied to clipboard

Simple yet powerful framework for building command-line apps.

Results 62 cac issues
Sort by recently updated
recently updated
newest added

enhancement
contribution welcome

## Issue Type - [ ] Bug Report - [x] Feature Request - [ ] Other ## Expected ```js cli .command('format [...files]', 'Format files using Prettier') .example("format 'src/**/*.{js,ts,json}'") .alias(['fmt', 'fromat',...

## Issue Type - [ ] Bug Report - [X] Feature Request - [ ] Other ## Expected ```bash $ command subcommand --help Subcommand is used to...

## Issue Type - [ ] Bug Report - [x] Feature Request - [ ] Other ## Expected * That when I manually call `cli.outputHelp()`, that I can then set...

```bash > node cli.js --fo > invalid cli flag `--fo`, did you mean `--foo`? ```

enhancement
contribution welcome

When we have field `choices` of `option`, we have to give flag one precise value. ```js const cac = require('../') const cli = cac() cli.command('a', { desc: 'command a', }).option('foo',...

v3

Export help message in markdown format so you can embed it into your README. Like this:

enhancement
contribution welcome

## Issue Type - [ ] Bug Report - [x] Feature Request - [ ] Other ## Expected ## Actual ## Possible Solutions ## Info - CAC version: - Reproduction...

## Issue Type - [ ] Bug Report - [ ] Feature Request - [x] Other Hi. I am attempting to create my first Node.js CLI program. ```ts const cli...