cli-nano 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -69,7 +69,7 @@ const config: Config = {
69
69
  dryRun: {
70
70
  alias: 'd',
71
71
  type: 'boolean',
72
- describe: 'Show what would be done, but do not actually start the server',
72
+ describe: 'Show what would be executed but without starting the server',
73
73
  default: false, // optional default value
74
74
  },
75
75
  display: {
@@ -117,6 +117,7 @@ const config: Config = {
117
117
  helpFlagCasing: 'camel', // show help flag option in which casing (camel/kebab) (defaults to 'kebab')
118
118
  helpDescMinLength: 40, // min description length shown in help (defaults to 50)
119
119
  helpDescMaxLength: 120, // max description length shown in help (defaults to 100), will show ellipsis (...) when greater
120
+ helpUsageSeparator: ':', // defaults to "→"
120
121
  };
121
122
 
122
123
  const args = parseArgs(config);
@@ -196,7 +197,7 @@ See [examples/](examples/) for more usage patterns.
196
197
 
197
198
  ## Used by
198
199
 
199
- `cli-nano` is currently used in these other projects of mine (feel free to edit this list):
200
+ `cli-nano` is currently being used by the following projects, which is actually why I created this CLI tool, that I currently maintain as well (feel free to edit this list):
200
201
 
201
202
  - [native-copyfiles](https://github.com/ghiscoding/native-copyfiles)
202
203
  - [remove-glob](https://github.com/ghiscoding/remove-glob)
@@ -205,25 +206,25 @@ See [examples/](examples/) for more usage patterns.
205
206
 
206
207
  You can see below an example of a CLI help (which is the result of calling `--help` with the [config](#usage) shown above).
207
208
 
208
- Please note:
209
+ Please note that the following means:
209
210
 
210
211
  - `<option>` → required
211
212
  - `[option]` → optional
212
213
 
213
214
  ```
214
215
  Usage:
215
- serve <input..> [port] [options] Start a server with the given options
216
+ serve <input..> [port] [options]Start a server with the given options
216
217
 
217
218
  Examples:
218
- serve ./www/index.html 8080 --open Start web server on port 8080 and open browser
219
- serve ./index.html 8081 --no-open --verbose Start web server on port 8081 without opening browser and print more debugging logging to the console
219
+ serve ./www/index.html 8080 --openStart web server on port 8080 and open browser
220
+ serve ./index.html 8081 --no-open --verboseStart web server on port 8081 without opening browser and print more debugging logging to the console
220
221
 
221
222
  Arguments:
222
223
  input serving files or directory <string..>
223
224
  port port to bind on [number]
224
225
 
225
226
  Options:
226
- -d, --dry-run Show what would be done, but do not actually start the server [boolean]
227
+ -d, --dry-run Show what would be executed but without starting the server [boolean]
227
228
  -e, --exclude pattern or glob to exclude (may be passed multiple times) [array]
228
229
  -V, --verbose print more information to console [boolean]
229
230
  -o, --open open browser when starting server [boolean]
package/dist/index.js CHANGED
@@ -189,7 +189,7 @@ export function parseArgs(config) {
189
189
  return result;
190
190
  }
191
191
  /** Format a text to a fixed length, truncating and padding as needed. */
192
- function formatHelpText(text, max) {
192
+ function formatHelpText(text = '', max = 500) {
193
193
  const truncated = text.length > max ? `${text.slice(0, max - 3)}...` : text;
194
194
  return truncated.padEnd(max);
195
195
  }
@@ -227,15 +227,15 @@ function findOption(options, arg) {
227
227
  }
228
228
  /** Print CLI help documentation to the screen */
229
229
  function printHelp(config) {
230
- const { command, options, version, helpDescMinLength = 50, helpDescMaxLength = 100 } = config;
230
+ const { command, options, version, helpDescMinLength = 50, helpDescMaxLength = 100, helpUsageSeparator = '→' } = config;
231
231
  const usagePositionals = buildUsagePositionals(command.positionals);
232
232
  console.log('Usage:');
233
- console.log(` ${command.name} ${usagePositionals} [options] ${command.describe}`);
233
+ console.log(` ${command.name} ${usagePositionals} [options] ${helpUsageSeparator} ${command.describe}`);
234
234
  // display any examples (when provided)
235
235
  if (Array.isArray(command.examples) && command.examples.length) {
236
236
  console.log('\nExamples:');
237
237
  command.examples.forEach(ex => {
238
- console.log(` ${ex.cmd.replace('$0', command.name)} ${ex.describe || ''}`);
238
+ console.log(` ${ex.cmd.replace('$0', command.name)} ${helpUsageSeparator} ${ex.describe || ''}`);
239
239
  });
240
240
  }
241
241
  // calculate longest description length
@@ -53,6 +53,8 @@ export interface Config {
53
53
  helpFlagCasing?: 'camel' | 'kebab';
54
54
  /** min description length shown in the help (defaults to 50) */
55
55
  helpDescMinLength?: number;
56
+ /** text separator between usage/examples & descriptions (defaults to "→") */
57
+ helpUsageSeparator?: string;
56
58
  /** max description length shown in the help (defaults to 100) */
57
59
  helpDescMaxLength?: number;
58
60
  /** CLI list of flag options */
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,kBAAkB;IAClB,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IAEjD,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,CAAC;IAEjB,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,mDAAmD;IACnD,OAAO,CAAC,EAAE,GAAG,CAAC;IAEd,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IAEb,mCAAmC;IACnC,QAAQ,EAAE,MAAM,CAAC;IAEjB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IAEjD,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,mDAAmD;IACnD,OAAO,CAAC,EAAE,GAAG,CAAC;IAEd,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IAEb,uBAAuB;IACvB,QAAQ,EAAE,MAAM,CAAC;IAEjB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IAEpC,mCAAmC;IACnC,WAAW,CAAC,EAAE,SAAS,kBAAkB,EAA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,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cli-nano",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Small command-line tool similar to `yargs` or `parseArgs` from Node.js to create a CLI accepting positional arguments, flags and options.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -202,7 +202,7 @@ export function parseArgs<C extends Config>(config: C): ArgsResult<C> {
202
202
  }
203
203
 
204
204
  /** Format a text to a fixed length, truncating and padding as needed. */
205
- function formatHelpText(text: string, max: number) {
205
+ function formatHelpText(text = '', max = 500) {
206
206
  const truncated = text.length > max ? `${text.slice(0, max - 3)}...` : text;
207
207
  return truncated.padEnd(max);
208
208
  }
@@ -244,17 +244,17 @@ function findOption(options: Record<string, FlagOption>, arg: string): [FlagOpti
244
244
 
245
245
  /** Print CLI help documentation to the screen */
246
246
  function printHelp(config: Config) {
247
- const { command, options, version, helpDescMinLength = 50, helpDescMaxLength = 100 } = config;
247
+ const { command, options, version, helpDescMinLength = 50, helpDescMaxLength = 100, helpUsageSeparator = '→' } = config;
248
248
  const usagePositionals = buildUsagePositionals(command.positionals);
249
249
 
250
250
  console.log('Usage:');
251
- console.log(` ${command.name} ${usagePositionals} [options] ${command.describe}`);
251
+ console.log(` ${command.name} ${usagePositionals} [options] ${helpUsageSeparator} ${command.describe}`);
252
252
 
253
253
  // display any examples (when provided)
254
254
  if (Array.isArray(command.examples) && command.examples.length) {
255
255
  console.log('\nExamples:');
256
256
  command.examples.forEach(ex => {
257
- console.log(` ${ex.cmd.replace('$0', command.name)} ${ex.describe || ''}`);
257
+ console.log(` ${ex.cmd.replace('$0', command.name)} ${helpUsageSeparator} ${ex.describe || ''}`);
258
258
  });
259
259
  }
260
260
 
package/src/interfaces.ts CHANGED
@@ -74,6 +74,9 @@ export interface Config {
74
74
  /** min description length shown in the help (defaults to 50) */
75
75
  helpDescMinLength?: number;
76
76
 
77
+ /** text separator between usage/examples & descriptions (defaults to "→") */
78
+ helpUsageSeparator?: string;
79
+
77
80
  /** max description length shown in the help (defaults to 100) */
78
81
  helpDescMaxLength?: number;
79
82