1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
|
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/lib/commands/completion.js TAP completion --no- flags > flags 1`] = `
Array [
Array [
String(
--no-version
--no-versions
),
],
]
`
exports[`test/lib/commands/completion.js TAP completion commands with no completion > no results 1`] = `
Array []
`
exports[`test/lib/commands/completion.js TAP completion completion cannot complete options that take a value in mid-command > does not try to complete option arguments in the middle of a command 1`] = `
Array []
`
exports[`test/lib/commands/completion.js TAP completion completion completion > both shells 1`] = `
Array []
`
exports[`test/lib/commands/completion.js TAP completion completion completion no known shells > no responses 1`] = `
Array []
`
exports[`test/lib/commands/completion.js TAP completion completion completion wrong word count > no responses 1`] = `
Array []
`
exports[`test/lib/commands/completion.js TAP completion completion of invalid command name does nothing > no results 1`] = `
Array []
`
exports[`test/lib/commands/completion.js TAP completion double dashes escape from flag completion > full command list 1`] = `
Array [
Array [
String(
access
adduser
audit
bugs
cache
ci
completion
config
dedupe
deprecate
diff
dist-tag
docs
doctor
edit
exec
explain
explore
find-dupes
fund
get
help
hook
init
install
install-ci-test
install-test
link
ll
login
logout
ls
org
outdated
owner
pack
ping
pkg
prefix
profile
prune
publish
query
rebuild
repo
restart
root
run-script
search
set
set-script
shrinkwrap
star
stars
start
stop
team
test
token
uninstall
unpublish
unstar
update
version
view
whoami
login
author
home
issues
info
show
find
add
unlink
remove
rm
r
un
rb
list
ln
create
i
it
cit
up
c
s
se
tst
t
ddp
v
run
clean-install
clean-install-test
x
why
la
verison
ic
innit
in
ins
inst
insta
instal
isnt
isnta
isntal
isntall
install-clean
isntall-clean
hlep
dist-tags
upgrade
udpate
rum
sit
urn
ogr
add-user
),
],
]
`
exports[`test/lib/commands/completion.js TAP completion filtered subcommands > filtered subcommands 1`] = `
Array [
Array [
"public",
],
]
`
exports[`test/lib/commands/completion.js TAP completion flags > flags 1`] = `
Array [
Array [
String(
--version
--versions
--viewer
--verbose
--v
),
],
]
`
exports[`test/lib/commands/completion.js TAP completion multiple command names > multiple command names 1`] = `
Array [
Array [
String(
access
adduser
audit
author
add
add-user
),
],
]
`
exports[`test/lib/commands/completion.js TAP completion single command name > single command name 1`] = `
Array [
Array [
"config",
],
]
`
exports[`test/lib/commands/completion.js TAP completion subcommand completion > subcommands 1`] = `
Array [
Array [
String(
public
restricted
grant
revoke
ls-packages
ls-collaborators
edit
2fa-required
2fa-not-required
),
],
]
`
exports[`test/lib/commands/completion.js TAP windows without bash > no output 1`] = `
Array []
`
|