sade icon indicating copy to clipboard operation
sade copied to clipboard

Smooth (CLI) Operator 🎶

Results 14 sade issues
Sort by recently updated
recently updated
newest added

If an optional argument is defined sade will parse after `--` ````tsx import sade from 'sade' sade('prog') .command('build [config]').action(console.log) .parse(['node', 'cli.js', 'build', '--', 'abc', 'xyz']) ```` Results in `"abc", {_:...

https://github.com/lukeed/sade/blob/1cdf3e464ca899dcd6e758a50eb82cf7cf484771/src/index.js#L150-L152 The early return here will break the following: ```js const prog = sade('cool-cli', true).version('1.0.0').describe('Some cool CLI.') const {args} = prog.parse(process.argv, {lazy: true}) if (args.something) { // do stuff }...

# What? As far as I can see to define CLI version you do this ``` javascript import sade from 'sade' const CLI = sade('latitude') CLI.version('1.2.3') ``` Then that shows...

Bumps [rollup](https://github.com/rollup/rollup) from 1.32.1 to 2.79.2. Changelog Sourced from rollup's changelog. rollup changelog 4.22.4 2024-09-21 Bug Fixes Fix a vulnerability in generated code that affects IIFE, UMD and CJS bundles...

dependencies