|
1 | 1 | // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html |
2 | 2 |
|
| 3 | +exports[`plugin-help > alias > should show alias for subcommands 1`] = ` |
| 4 | +[ |
| 5 | + [ |
| 6 | + "test [1mparent[22m not found |
| 7 | +
|
| 8 | +[4m[1mAvailable Subcommands[22m[24m |
| 9 | + [1mchild[22m (c) Child command", |
| 10 | + ], |
| 11 | +] |
| 12 | +`; |
| 13 | + |
| 14 | +exports[`plugin-help > alias > should show array of aliases 1`] = ` |
| 15 | +[ |
| 16 | + [ |
| 17 | + "[1mtest[22m v0.0.0 - test |
| 18 | +
|
| 19 | +[4m[1mUsage[22m[24m |
| 20 | + $ test [2m<command>[22m [2m[flags][22m |
| 21 | +
|
| 22 | +[4m[1mGlobal Flags[22m[24m |
| 23 | + [1m--help, -h[22m [2mBoolean[22m Show help [2m[default: [1mfalse[22m[2m][22m |
| 24 | +
|
| 25 | +[4m[1mCommands[22m[24m |
| 26 | + [1mhelp[22m Show help |
| 27 | + [1mtest[22m (t, test-cmd) Test command", |
| 28 | + ], |
| 29 | +] |
| 30 | +`; |
| 31 | +
|
| 32 | +exports[`plugin-help > alias > should show root alias (empty string in array) 1`] = ` |
| 33 | +[ |
| 34 | + [ |
| 35 | + "[1mtest[22m v0.0.0 - test |
| 36 | +
|
| 37 | +[4m[1mUsage[22m[24m |
| 38 | + $ test [2m[command][22m [2m[flags][22m |
| 39 | +
|
| 40 | +[4m[1mGlobal Flags[22m[24m |
| 41 | + [1m--help, -h[22m [2mBoolean[22m Show help [2m[default: [1mfalse[22m[2m][22m |
| 42 | +
|
| 43 | +[4m[1mCommands[22m[24m |
| 44 | + [1mhelp[22m Show help |
| 45 | + [1mtest[22m (t, (root)) Test command", |
| 46 | + ], |
| 47 | +] |
| 48 | +`; |
| 49 | +
|
| 50 | +exports[`plugin-help > alias > should show root alias (empty string) 1`] = ` |
| 51 | +[ |
| 52 | + [ |
| 53 | + "[1mtest[22m v0.0.0 - test |
| 54 | +
|
| 55 | +[4m[1mUsage[22m[24m |
| 56 | + $ test [2m[command][22m [2m[flags][22m |
| 57 | +
|
| 58 | +[4m[1mGlobal Flags[22m[24m |
| 59 | + [1m--help, -h[22m [2mBoolean[22m Show help [2m[default: [1mfalse[22m[2m][22m |
| 60 | +
|
| 61 | +[4m[1mCommands[22m[24m |
| 62 | + [1mhelp[22m Show help |
| 63 | + [1mtest[22m Test command", |
| 64 | + ], |
| 65 | +] |
| 66 | +`; |
| 67 | +
|
| 68 | +exports[`plugin-help > alias > should show single string alias 1`] = ` |
| 69 | +[ |
| 70 | + [ |
| 71 | + "[1mtest[22m v0.0.0 - test |
| 72 | +
|
| 73 | +[4m[1mUsage[22m[24m |
| 74 | + $ test [2m<command>[22m [2m[flags][22m |
| 75 | +
|
| 76 | +[4m[1mGlobal Flags[22m[24m |
| 77 | + [1m--help, -h[22m [2mBoolean[22m Show help [2m[default: [1mfalse[22m[2m][22m |
| 78 | +
|
| 79 | +[4m[1mCommands[22m[24m |
| 80 | + [1mhelp[22m Show help |
| 81 | + [1mtest[22m (t) Test command", |
| 82 | + ], |
| 83 | +] |
| 84 | +`; |
| 85 | +
|
3 | 86 | exports[`plugin-help > grouping > should display subcommands 1`] = ` |
4 | 87 | [ |
5 | 88 | [ |
|
0 commit comments