wispy-cli 2.7.30 → 2.7.31
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/bin/wispy.mjs +5 -7
- package/package.json +1 -1
package/bin/wispy.mjs
CHANGED
|
@@ -1400,14 +1400,12 @@ _wispy() {
|
|
|
1400
1400
|
local -a commands flags
|
|
1401
1401
|
commands=(${cmds.map(c => `'${c}'`).join(" ")})
|
|
1402
1402
|
flags=(${flags.map(f => `'${f}'`).join(" ")})
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
_describe '
|
|
1406
|
-
|
|
1407
|
-
_files
|
|
1408
|
-
fi
|
|
1403
|
+
_arguments -C '1:command:->cmd' '*:file:_files' && return
|
|
1404
|
+
case "$state" in
|
|
1405
|
+
cmd) _describe 'command' commands -- flags ;;
|
|
1406
|
+
esac
|
|
1409
1407
|
}
|
|
1410
|
-
_wispy
|
|
1408
|
+
compdef _wispy wispy 2>/dev/null`);
|
|
1411
1409
|
} else if (shell === "bash") {
|
|
1412
1410
|
console.log(`_wispy_completions() {
|
|
1413
1411
|
local cur="\${COMP_WORDS[COMP_CWORD]}"
|
package/package.json
CHANGED