@@ -45,3 +45,7 @@ export const completionShTemplate = `###-begin-{{app_name}}-completions-### | ||
| IFS=$si | ||
| _describe 'values' reply | ||
| if [[ \${#reply} -gt 0 ]]; then | ||
| _describe 'values' reply | ||
| else | ||
| _default | ||
| fi | ||
| } | ||
@@ -48,0 +52,0 @@ compdef _{{app_name}}_yargs_completions {{app_name}} |
+1
-1
| { | ||
| "name": "yargs", | ||
| "version": "18.0.0-candidate.3", | ||
| "version": "18.0.0-candidate.4", | ||
| "description": "yargs the modern, pirate-themed, successor to optimist.", | ||
@@ -5,0 +5,0 @@ "main": "./index.mjs", |
+1
-1
@@ -81,3 +81,3 @@ <p align="center"> | ||
| > Note: `hideBin` is a shorthand for [`process.argv.slice(2)`](https://nodejs.org/en/knowledge/command-line/how-to-parse-command-line-arguments/). It has the benefit that it takes into account variations in some environments, e.g., [Electron](https://github.com/electron/electron/issues/4690). | ||
| > Note: `hideBin` is a shorthand for `process.argv.slice(2)`. It has the benefit that it takes into account variations in some environments, e.g., [Electron](https://github.com/electron/electron/issues/4690). | ||
@@ -84,0 +84,0 @@ ### Complex Example |
5054
0.08%230898
-0.01%