/
cli.spec.js.snap
65 lines (64 loc) 路 1.44 KB
/
cli.spec.js.snap
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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`cli should match meow with cli information 1`] = `
[
[
"
Usage
$ gitmoji
Options
--commit, -c Interactively commit using the prompts
--config, -g Setup gitmoji-cli preferences.
--init, -i Initialize gitmoji as a commit hook
--list, -l List all the available gitmojis
--remove, -r Remove a previously initialized commit hook
--search, -s Search gitmojis
--update, -u Sync emoji list with the repo
--version, -v Print gitmoji-cli installed version
Examples
$ gitmoji -l
$ gitmoji bug linter -s
",
{
"flags": {
"commit": {
"alias": "c",
"type": "boolean",
},
"config": {
"alias": "g",
"type": "boolean",
},
"help": {
"alias": "h",
"type": "boolean",
},
"init": {
"alias": "i",
"type": "boolean",
},
"list": {
"alias": "l",
"type": "boolean",
},
"remove": {
"alias": "r",
"type": "boolean",
},
"search": {
"alias": "s",
"type": "boolean",
},
"update": {
"alias": "u",
"type": "boolean",
},
"version": {
"alias": "v",
"type": "boolean",
},
},
"importMeta": "import.meta.url",
},
],
]
`;