-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathhelp-message.test.ts.snap
More file actions
58 lines (42 loc) · 1.69 KB
/
help-message.test.ts.snap
File metadata and controls
58 lines (42 loc) · 1.69 KB
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
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`--help command > prints the analyze command help 1`] = `
"[36me18e[39m (cli <version>)
Analyze the project for any warnings or errors
USAGE:
cli analyze <OPTIONS>
OPTIONS:
--pack [pack] Package manager to use for packing (default: auto, choices: auto | npm | yarn | pnpm | bun | none)
--log-level [log-level] Set the log level (debug | info | warn | error) (default: info, choices: debug | info | warn | error)
-h, --help Display this help message
-v, --version Display this version
"
`;
exports[`--help command > prints the migrate command help 1`] = `
"[36me18e[39m (cli <version>)
Migrate from a package to a more performant alternative.
USAGE:
cli migrate <OPTIONS>
OPTIONS:
--dry-run Don't apply any fixes, only show what would change. (default: false)
--interactive Run in interactive mode. (default: false)
--include [include] Files to migrate (default: **/*.{ts,js})
-h, --help Display this help message
-v, --version Display this version
"
`;
exports[`--help command > prints the up to date help command 1`] = `
"[36me18e[39m (cli <version>)
USAGE:
cli [(anonymous)] <OPTIONS>
cli <COMMANDS>
COMMANDS:
analyze Analyze the project for any warnings or errors
migrate Migrate from a package to a more performant alternative.
For more info, run any command with the \`--help\` flag:
cli analyze --help
cli migrate --help
OPTIONS:
-h, --help Display this help message
-v, --version Display this version
"
`;