UNPKG
iloa
Version:
latest (0.3.4)
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.0
A command line tool for gaining knowledge.
github.com/drawnepicenter/iloa
drawnepicenter/iloa
iloa
/
src
/
commands
/
completion.js
10 lines
(9 loc)
•
287 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
/* eslint-disableno-unused-vars:0, no-unused-expressions:0 */
const
yargs =
require
(
'yargs'
)
exports
.
command
=
'completion'
exports
.
aliases
= [
'comp'
]
exports
.
desc
=
'Print shell completion script'
exports
.
builder
= {}
exports
.
handler
=
(
argv
) =>
{ yargs.
showCompletionScript
().
argv
}