| 1 |
/* IMPORTANT |
| 2 |
* This snapshot file is auto-generated, but designed for humans. |
| 3 |
* It should be checked into source control and tracked carefully. |
| 4 |
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. |
| 5 |
* Make sure to inspect the output below. Do not ignore changes! |
| 6 |
*/ |
| 7 |
'use strict' |
| 8 |
exports[`test/lib/commands/completion.js TAP completion --no- flags > flags 1`] = ` |
| 9 |
Array [] |
| 10 |
` |
| 11 |
|
| 12 |
exports[`test/lib/commands/completion.js TAP completion commands with no completion > no results 1`] = ` |
| 13 |
Array [] |
| 14 |
` |
| 15 |
|
| 16 |
exports[`test/lib/commands/completion.js TAP completion completion after custom definition flag requiring value > custom definition non-Boolean flag handled 1`] = ` |
| 17 |
Array [] |
| 18 |
` |
| 19 |
|
| 20 |
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`] = ` |
| 21 |
Array [] |
| 22 |
` |
| 23 |
|
| 24 |
exports[`test/lib/commands/completion.js TAP completion completion completion > both shells 1`] = ` |
| 25 |
Array [] |
| 26 |
` |
| 27 |
|
| 28 |
exports[`test/lib/commands/completion.js TAP completion completion completion no known shells > no responses 1`] = ` |
| 29 |
Array [] |
| 30 |
` |
| 31 |
|
| 32 |
exports[`test/lib/commands/completion.js TAP completion completion completion wrong word count > no responses 1`] = ` |
| 33 |
Array [] |
| 34 |
` |
| 35 |
|
| 36 |
exports[`test/lib/commands/completion.js TAP completion completion of invalid command name does nothing > no results 1`] = ` |
| 37 |
Array [] |
| 38 |
` |
| 39 |
|
| 40 |
exports[`test/lib/commands/completion.js TAP completion completion with double-dash escape in command line > double-dash escape handled 1`] = ` |
| 41 |
Array [] |
| 42 |
` |
| 43 |
|
| 44 |
exports[`test/lib/commands/completion.js TAP completion completion with non-flag word > non-flag word completion 1`] = ` |
| 45 |
Array [] |
| 46 |
` |
| 47 |
|
| 48 |
exports[`test/lib/commands/completion.js TAP completion double dashes escape from flag completion > full command list 1`] = ` |
| 49 |
Array [] |
| 50 |
` |
| 51 |
|
| 52 |
exports[`test/lib/commands/completion.js TAP completion filtered subcommands > filtered subcommands 1`] = ` |
| 53 |
Array [] |
| 54 |
` |
| 55 |
|
| 56 |
exports[`test/lib/commands/completion.js TAP completion flags > flags 1`] = ` |
| 57 |
Array [] |
| 58 |
` |
| 59 |
|
| 60 |
exports[`test/lib/commands/completion.js TAP completion multiple command names > multiple command names 1`] = ` |
| 61 |
Array [ |
| 62 |
String( |
| 63 |
access |
| 64 |
adduser |
| 65 |
approve-scripts |
| 66 |
audit |
| 67 |
author |
| 68 |
add |
| 69 |
add-user |
| 70 |
), |
| 71 |
] |
| 72 |
` |
| 73 |
|
| 74 |
exports[`test/lib/commands/completion.js TAP completion single command name > single command name 1`] = ` |
| 75 |
Array [ |
| 76 |
"config", |
| 77 |
] |
| 78 |
` |
| 79 |
|
| 80 |
exports[`test/lib/commands/completion.js TAP completion subcommand completion > subcommands 1`] = ` |
| 81 |
Array [ |
| 82 |
String( |
| 83 |
get |
| 84 |
grant |
| 85 |
list |
| 86 |
revoke |
| 87 |
set |
| 88 |
), |
| 89 |
] |
| 90 |
` |
| 91 |
|
| 92 |
exports[`test/lib/commands/completion.js TAP completion trust filtered subcommands > trust filtered subcommands 1`] = ` |
| 93 |
Array [ |
| 94 |
String( |
| 95 |
github |
| 96 |
gitlab |
| 97 |
), |
| 98 |
] |
| 99 |
` |
| 100 |
|
| 101 |
exports[`test/lib/commands/completion.js TAP completion trust github flags > trust github flags with custom definitions 1`] = ` |
| 102 |
Array [ |
| 103 |
String( |
| 104 |
--file |
| 105 |
--repository |
| 106 |
--repo |
| 107 |
--environment |
| 108 |
--env |
| 109 |
--allow-publish |
| 110 |
--allow-stage-publish |
| 111 |
--allow-staged-publish |
| 112 |
--dry-run |
| 113 |
--json |
| 114 |
--registry |
| 115 |
--yes |
| 116 |
--no-allow-publish |
| 117 |
--no-allow-stage-publish |
| 118 |
--no-allow-staged-publish |
| 119 |
--no-dry-run |
| 120 |
--no-json |
| 121 |
--no-yes |
| 122 |
), |
| 123 |
] |
| 124 |
` |
| 125 |
|
| 126 |
exports[`test/lib/commands/completion.js TAP completion trust gitlab flags > trust gitlab flags with custom definitions 1`] = ` |
| 127 |
Array [ |
| 128 |
String( |
| 129 |
--file |
| 130 |
--project |
| 131 |
--environment |
| 132 |
--env |
| 133 |
--allow-publish |
| 134 |
--allow-stage-publish |
| 135 |
--allow-staged-publish |
| 136 |
--dry-run |
| 137 |
--json |
| 138 |
--registry |
| 139 |
--yes |
| 140 |
--no-allow-publish |
| 141 |
--no-allow-stage-publish |
| 142 |
--no-allow-staged-publish |
| 143 |
--no-dry-run |
| 144 |
--no-json |
| 145 |
--no-yes |
| 146 |
), |
| 147 |
] |
| 148 |
` |
| 149 |
|
| 150 |
exports[`test/lib/commands/completion.js TAP completion trust subcommands > trust subcommands 1`] = ` |
| 151 |
Array [ |
| 152 |
String( |
| 153 |
github |
| 154 |
gitlab |
| 155 |
circleci |
| 156 |
list |
| 157 |
revoke |
| 158 |
), |
| 159 |
] |
| 160 |
` |
| 161 |
|
| 162 |
exports[`test/lib/commands/completion.js TAP windows without bash > no output 1`] = ` |
| 163 |
Array [] |
| 164 |
` |