bash-classify 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bash_classify/__init__.py +14 -0
- bash_classify/__main__.py +3 -0
- bash_classify/classifier.py +244 -0
- bash_classify/cli.py +110 -0
- bash_classify/commands/apt.yaml +23 -0
- bash_classify/commands/awk.yaml +5 -0
- bash_classify/commands/basename.yaml +5 -0
- bash_classify/commands/bash.yaml +18 -0
- bash_classify/commands/brew.yaml +25 -0
- bash_classify/commands/builtin.yaml +6 -0
- bash_classify/commands/cargo.yaml +29 -0
- bash_classify/commands/cat.yaml +5 -0
- bash_classify/commands/chgrp.yaml +8 -0
- bash_classify/commands/chmod.yaml +8 -0
- bash_classify/commands/chown.yaml +8 -0
- bash_classify/commands/column.yaml +5 -0
- bash_classify/commands/comm.yaml +5 -0
- bash_classify/commands/command.yaml +10 -0
- bash_classify/commands/cp.yaml +5 -0
- bash_classify/commands/curl.yaml +28 -0
- bash_classify/commands/cut.yaml +5 -0
- bash_classify/commands/date.yaml +8 -0
- bash_classify/commands/df.yaml +5 -0
- bash_classify/commands/diff.yaml +5 -0
- bash_classify/commands/dig.yaml +5 -0
- bash_classify/commands/dirname.yaml +5 -0
- bash_classify/commands/docker.yaml +152 -0
- bash_classify/commands/du.yaml +5 -0
- bash_classify/commands/echo.yaml +5 -0
- bash_classify/commands/env.yaml +14 -0
- bash_classify/commands/expand.yaml +5 -0
- bash_classify/commands/false.yaml +5 -0
- bash_classify/commands/file.yaml +5 -0
- bash_classify/commands/find.yaml +27 -0
- bash_classify/commands/fmt.yaml +5 -0
- bash_classify/commands/fold.yaml +5 -0
- bash_classify/commands/free.yaml +5 -0
- bash_classify/commands/gawk.yaml +5 -0
- bash_classify/commands/git.yaml +441 -0
- bash_classify/commands/go.yaml +38 -0
- bash_classify/commands/grep.yaml +5 -0
- bash_classify/commands/groups.yaml +5 -0
- bash_classify/commands/gunzip.yaml +5 -0
- bash_classify/commands/gzip.yaml +5 -0
- bash_classify/commands/head.yaml +5 -0
- bash_classify/commands/helm.yaml +127 -0
- bash_classify/commands/hostname.yaml +5 -0
- bash_classify/commands/id.yaml +5 -0
- bash_classify/commands/install.yaml +5 -0
- bash_classify/commands/join.yaml +5 -0
- bash_classify/commands/journalctl.yaml +12 -0
- bash_classify/commands/jq.yaml +5 -0
- bash_classify/commands/kill.yaml +5 -0
- bash_classify/commands/killall.yaml +5 -0
- bash_classify/commands/kubectl.yaml +190 -0
- bash_classify/commands/less.yaml +5 -0
- bash_classify/commands/ln.yaml +5 -0
- bash_classify/commands/ls.yaml +5 -0
- bash_classify/commands/make.yaml +19 -0
- bash_classify/commands/md5sum.yaml +5 -0
- bash_classify/commands/mkdir.yaml +5 -0
- bash_classify/commands/more.yaml +5 -0
- bash_classify/commands/mv.yaml +5 -0
- bash_classify/commands/netstat.yaml +5 -0
- bash_classify/commands/nice.yaml +9 -0
- bash_classify/commands/nl.yaml +5 -0
- bash_classify/commands/node.yaml +5 -0
- bash_classify/commands/nohup.yaml +6 -0
- bash_classify/commands/npm.yaml +65 -0
- bash_classify/commands/nslookup.yaml +5 -0
- bash_classify/commands/paste.yaml +5 -0
- bash_classify/commands/ping.yaml +5 -0
- bash_classify/commands/pip.yaml +29 -0
- bash_classify/commands/pip3.yaml +29 -0
- bash_classify/commands/pkill.yaml +5 -0
- bash_classify/commands/poetry.yaml +74 -0
- bash_classify/commands/printenv.yaml +5 -0
- bash_classify/commands/printf.yaml +5 -0
- bash_classify/commands/ps.yaml +5 -0
- bash_classify/commands/pwd.yaml +5 -0
- bash_classify/commands/python.yaml +5 -0
- bash_classify/commands/python3.yaml +5 -0
- bash_classify/commands/read.yaml +5 -0
- bash_classify/commands/readlink.yaml +5 -0
- bash_classify/commands/realpath.yaml +5 -0
- bash_classify/commands/rev.yaml +5 -0
- bash_classify/commands/rm.yaml +5 -0
- bash_classify/commands/rsync.yaml +10 -0
- bash_classify/commands/scp.yaml +5 -0
- bash_classify/commands/sed.yaml +12 -0
- bash_classify/commands/seq.yaml +5 -0
- bash_classify/commands/sh.yaml +12 -0
- bash_classify/commands/sha1sum.yaml +5 -0
- bash_classify/commands/sha256sum.yaml +5 -0
- bash_classify/commands/sort.yaml +8 -0
- bash_classify/commands/ss.yaml +5 -0
- bash_classify/commands/ssh.yaml +39 -0
- bash_classify/commands/stat.yaml +5 -0
- bash_classify/commands/strace.yaml +18 -0
- bash_classify/commands/sudo.yaml +22 -0
- bash_classify/commands/systemctl.yaml +56 -0
- bash_classify/commands/tac.yaml +5 -0
- bash_classify/commands/tail.yaml +5 -0
- bash_classify/commands/tar.yaml +22 -0
- bash_classify/commands/tee.yaml +5 -0
- bash_classify/commands/terraform.yaml +68 -0
- bash_classify/commands/test.yaml +5 -0
- bash_classify/commands/time.yaml +6 -0
- bash_classify/commands/timeout.yaml +15 -0
- bash_classify/commands/top.yaml +5 -0
- bash_classify/commands/touch.yaml +5 -0
- bash_classify/commands/tr.yaml +5 -0
- bash_classify/commands/traceroute.yaml +5 -0
- bash_classify/commands/true.yaml +5 -0
- bash_classify/commands/type.yaml +5 -0
- bash_classify/commands/uname.yaml +5 -0
- bash_classify/commands/unexpand.yaml +5 -0
- bash_classify/commands/uniq.yaml +5 -0
- bash_classify/commands/unzip.yaml +7 -0
- bash_classify/commands/uptime.yaml +5 -0
- bash_classify/commands/uv.yaml +117 -0
- bash_classify/commands/wc.yaml +5 -0
- bash_classify/commands/wget.yaml +5 -0
- bash_classify/commands/whereis.yaml +5 -0
- bash_classify/commands/which.yaml +5 -0
- bash_classify/commands/whoami.yaml +5 -0
- bash_classify/commands/xargs.yaml +25 -0
- bash_classify/commands/xmllint.yaml +5 -0
- bash_classify/commands/yes.yaml +5 -0
- bash_classify/commands/yq.yaml +8 -0
- bash_classify/commands/zip.yaml +5 -0
- bash_classify/commands/zsh.yaml +12 -0
- bash_classify/database.py +257 -0
- bash_classify/matcher.py +702 -0
- bash_classify/models.py +148 -0
- bash_classify/parser.py +525 -0
- bash_classify/py.typed +0 -0
- bash_classify-0.1.0.dist-info/METADATA +147 -0
- bash_classify-0.1.0.dist-info/RECORD +142 -0
- bash_classify-0.1.0.dist-info/WHEEL +4 -0
- bash_classify-0.1.0.dist-info/entry_points.txt +2 -0
- bash_classify-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: docker
|
|
3
|
+
description: "Container application platform"
|
|
4
|
+
strict: false
|
|
5
|
+
global_options:
|
|
6
|
+
--host: {takes_value: true, aliases: [-H]}
|
|
7
|
+
--config: {takes_value: true}
|
|
8
|
+
--context: {takes_value: true}
|
|
9
|
+
--log-level: {takes_value: true, aliases: [-l]}
|
|
10
|
+
--tls: {}
|
|
11
|
+
--tlscacert: {takes_value: true}
|
|
12
|
+
--tlscert: {takes_value: true}
|
|
13
|
+
--tlskey: {takes_value: true}
|
|
14
|
+
--tlsverify: {}
|
|
15
|
+
-D: {}
|
|
16
|
+
--debug: {}
|
|
17
|
+
|
|
18
|
+
subcommands:
|
|
19
|
+
ps:
|
|
20
|
+
classification: READONLY
|
|
21
|
+
strict: false
|
|
22
|
+
images:
|
|
23
|
+
classification: READONLY
|
|
24
|
+
strict: false
|
|
25
|
+
inspect:
|
|
26
|
+
classification: READONLY
|
|
27
|
+
strict: false
|
|
28
|
+
logs:
|
|
29
|
+
classification: READONLY
|
|
30
|
+
strict: false
|
|
31
|
+
info:
|
|
32
|
+
classification: READONLY
|
|
33
|
+
version:
|
|
34
|
+
classification: READONLY
|
|
35
|
+
stats:
|
|
36
|
+
classification: READONLY
|
|
37
|
+
strict: false
|
|
38
|
+
top:
|
|
39
|
+
classification: READONLY
|
|
40
|
+
strict: false
|
|
41
|
+
port:
|
|
42
|
+
classification: READONLY
|
|
43
|
+
strict: false
|
|
44
|
+
diff:
|
|
45
|
+
classification: READONLY
|
|
46
|
+
strict: false
|
|
47
|
+
history:
|
|
48
|
+
classification: READONLY
|
|
49
|
+
strict: false
|
|
50
|
+
events:
|
|
51
|
+
classification: READONLY
|
|
52
|
+
strict: false
|
|
53
|
+
|
|
54
|
+
run:
|
|
55
|
+
classification: DANGEROUS
|
|
56
|
+
strict: false
|
|
57
|
+
exec:
|
|
58
|
+
classification: DANGEROUS
|
|
59
|
+
strict: false
|
|
60
|
+
build:
|
|
61
|
+
classification: WRITE
|
|
62
|
+
strict: false
|
|
63
|
+
pull:
|
|
64
|
+
classification: WRITE
|
|
65
|
+
strict: false
|
|
66
|
+
push:
|
|
67
|
+
classification: WRITE
|
|
68
|
+
strict: false
|
|
69
|
+
tag:
|
|
70
|
+
classification: WRITE
|
|
71
|
+
start:
|
|
72
|
+
classification: WRITE
|
|
73
|
+
stop:
|
|
74
|
+
classification: WRITE
|
|
75
|
+
restart:
|
|
76
|
+
classification: WRITE
|
|
77
|
+
create:
|
|
78
|
+
classification: WRITE
|
|
79
|
+
strict: false
|
|
80
|
+
cp:
|
|
81
|
+
classification: WRITE
|
|
82
|
+
compose:
|
|
83
|
+
subcommands:
|
|
84
|
+
ps:
|
|
85
|
+
classification: READONLY
|
|
86
|
+
strict: false
|
|
87
|
+
logs:
|
|
88
|
+
classification: READONLY
|
|
89
|
+
strict: false
|
|
90
|
+
config:
|
|
91
|
+
classification: READONLY
|
|
92
|
+
strict: false
|
|
93
|
+
up:
|
|
94
|
+
classification: WRITE
|
|
95
|
+
strict: false
|
|
96
|
+
down:
|
|
97
|
+
classification: DANGEROUS
|
|
98
|
+
strict: false
|
|
99
|
+
build:
|
|
100
|
+
classification: WRITE
|
|
101
|
+
strict: false
|
|
102
|
+
pull:
|
|
103
|
+
classification: WRITE
|
|
104
|
+
restart:
|
|
105
|
+
classification: WRITE
|
|
106
|
+
stop:
|
|
107
|
+
classification: WRITE
|
|
108
|
+
start:
|
|
109
|
+
classification: WRITE
|
|
110
|
+
rm:
|
|
111
|
+
classification: DANGEROUS
|
|
112
|
+
strict: false
|
|
113
|
+
|
|
114
|
+
rm:
|
|
115
|
+
classification: DANGEROUS
|
|
116
|
+
strict: false
|
|
117
|
+
rmi:
|
|
118
|
+
classification: DANGEROUS
|
|
119
|
+
strict: false
|
|
120
|
+
system:
|
|
121
|
+
subcommands:
|
|
122
|
+
prune:
|
|
123
|
+
classification: DANGEROUS
|
|
124
|
+
strict: false
|
|
125
|
+
df:
|
|
126
|
+
classification: READONLY
|
|
127
|
+
info:
|
|
128
|
+
classification: READONLY
|
|
129
|
+
volume:
|
|
130
|
+
subcommands:
|
|
131
|
+
ls:
|
|
132
|
+
classification: READONLY
|
|
133
|
+
inspect:
|
|
134
|
+
classification: READONLY
|
|
135
|
+
create:
|
|
136
|
+
classification: WRITE
|
|
137
|
+
rm:
|
|
138
|
+
classification: DANGEROUS
|
|
139
|
+
prune:
|
|
140
|
+
classification: DANGEROUS
|
|
141
|
+
network:
|
|
142
|
+
subcommands:
|
|
143
|
+
ls:
|
|
144
|
+
classification: READONLY
|
|
145
|
+
inspect:
|
|
146
|
+
classification: READONLY
|
|
147
|
+
create:
|
|
148
|
+
classification: WRITE
|
|
149
|
+
rm:
|
|
150
|
+
classification: DANGEROUS
|
|
151
|
+
prune:
|
|
152
|
+
classification: DANGEROUS
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: env
|
|
3
|
+
description: "Run a program in a modified environment"
|
|
4
|
+
classification: READONLY
|
|
5
|
+
delegates_to:
|
|
6
|
+
mode: rest_are_argv
|
|
7
|
+
strip_assignments: true
|
|
8
|
+
options:
|
|
9
|
+
-i: {}
|
|
10
|
+
--ignore-environment: {}
|
|
11
|
+
-u: {takes_value: true}
|
|
12
|
+
--unset: {takes_value: true, aliases: [-u]}
|
|
13
|
+
-C: {takes_value: true, captures_directory: true}
|
|
14
|
+
--chdir: {takes_value: true, captures_directory: true, aliases: [-C]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: find
|
|
3
|
+
description: "Search for files in a directory hierarchy"
|
|
4
|
+
classification: READONLY
|
|
5
|
+
strict: false
|
|
6
|
+
options:
|
|
7
|
+
-delete: {overrides: DANGEROUS}
|
|
8
|
+
-exec:
|
|
9
|
+
overrides: DANGEROUS
|
|
10
|
+
delegates_to:
|
|
11
|
+
mode: terminated_argv
|
|
12
|
+
terminator: ";"
|
|
13
|
+
-execdir:
|
|
14
|
+
overrides: DANGEROUS
|
|
15
|
+
delegates_to:
|
|
16
|
+
mode: terminated_argv
|
|
17
|
+
terminator: ";"
|
|
18
|
+
-ok:
|
|
19
|
+
overrides: WRITE
|
|
20
|
+
delegates_to:
|
|
21
|
+
mode: terminated_argv
|
|
22
|
+
terminator: ";"
|
|
23
|
+
-okdir:
|
|
24
|
+
overrides: WRITE
|
|
25
|
+
delegates_to:
|
|
26
|
+
mode: terminated_argv
|
|
27
|
+
terminator: ";"
|
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: git
|
|
3
|
+
description: "Distributed version control system"
|
|
4
|
+
global_options:
|
|
5
|
+
-C: {takes_value: true, captures_directory: true}
|
|
6
|
+
--git-dir: {takes_value: true}
|
|
7
|
+
--work-tree: {takes_value: true}
|
|
8
|
+
--bare: {}
|
|
9
|
+
--no-pager: {}
|
|
10
|
+
--no-replace-objects: {}
|
|
11
|
+
-c: {takes_value: true}
|
|
12
|
+
--exec-path: {takes_value: true}
|
|
13
|
+
|
|
14
|
+
subcommands:
|
|
15
|
+
# --- Readonly commands ---
|
|
16
|
+
status:
|
|
17
|
+
classification: READONLY
|
|
18
|
+
strict: false
|
|
19
|
+
log:
|
|
20
|
+
classification: READONLY
|
|
21
|
+
strict: false
|
|
22
|
+
show:
|
|
23
|
+
classification: READONLY
|
|
24
|
+
strict: false
|
|
25
|
+
diff:
|
|
26
|
+
classification: READONLY
|
|
27
|
+
strict: false
|
|
28
|
+
blame:
|
|
29
|
+
classification: READONLY
|
|
30
|
+
strict: false
|
|
31
|
+
shortlog:
|
|
32
|
+
classification: READONLY
|
|
33
|
+
strict: false
|
|
34
|
+
reflog:
|
|
35
|
+
classification: READONLY
|
|
36
|
+
strict: false
|
|
37
|
+
rev-parse:
|
|
38
|
+
classification: READONLY
|
|
39
|
+
ls-files:
|
|
40
|
+
classification: READONLY
|
|
41
|
+
strict: false
|
|
42
|
+
ls-remote:
|
|
43
|
+
classification: READONLY
|
|
44
|
+
strict: false
|
|
45
|
+
ls-tree:
|
|
46
|
+
classification: READONLY
|
|
47
|
+
strict: false
|
|
48
|
+
cat-file:
|
|
49
|
+
classification: READONLY
|
|
50
|
+
strict: false
|
|
51
|
+
for-each-ref:
|
|
52
|
+
classification: READONLY
|
|
53
|
+
strict: false
|
|
54
|
+
describe:
|
|
55
|
+
classification: READONLY
|
|
56
|
+
strict: false
|
|
57
|
+
rev-list:
|
|
58
|
+
classification: READONLY
|
|
59
|
+
strict: false
|
|
60
|
+
name-rev:
|
|
61
|
+
classification: READONLY
|
|
62
|
+
strict: false
|
|
63
|
+
grep:
|
|
64
|
+
classification: READONLY
|
|
65
|
+
strict: false
|
|
66
|
+
range-diff:
|
|
67
|
+
classification: READONLY
|
|
68
|
+
strict: false
|
|
69
|
+
show-branch:
|
|
70
|
+
classification: READONLY
|
|
71
|
+
strict: false
|
|
72
|
+
verify-commit:
|
|
73
|
+
classification: READONLY
|
|
74
|
+
strict: false
|
|
75
|
+
verify-tag:
|
|
76
|
+
classification: READONLY
|
|
77
|
+
strict: false
|
|
78
|
+
whatchanged:
|
|
79
|
+
classification: READONLY
|
|
80
|
+
strict: false
|
|
81
|
+
help:
|
|
82
|
+
classification: READONLY
|
|
83
|
+
strict: false
|
|
84
|
+
version:
|
|
85
|
+
classification: READONLY
|
|
86
|
+
|
|
87
|
+
# --- Branch / tag / remote management ---
|
|
88
|
+
branch:
|
|
89
|
+
classification: WRITE
|
|
90
|
+
options:
|
|
91
|
+
-l: {overrides: READONLY}
|
|
92
|
+
--list: {overrides: READONLY, aliases: [-l]}
|
|
93
|
+
-d: {overrides: WRITE}
|
|
94
|
+
-D: {overrides: DANGEROUS}
|
|
95
|
+
--delete: {overrides: WRITE}
|
|
96
|
+
-m: {overrides: WRITE}
|
|
97
|
+
--move: {overrides: WRITE, aliases: [-m]}
|
|
98
|
+
-M: {overrides: DANGEROUS}
|
|
99
|
+
-c: {overrides: WRITE}
|
|
100
|
+
--copy: {overrides: WRITE, aliases: [-c]}
|
|
101
|
+
-C: {overrides: DANGEROUS}
|
|
102
|
+
--edit-description: {overrides: WRITE}
|
|
103
|
+
--set-upstream-to: {overrides: WRITE, takes_value: true}
|
|
104
|
+
--unset-upstream: {overrides: WRITE}
|
|
105
|
+
remote:
|
|
106
|
+
classification: READONLY
|
|
107
|
+
subcommands:
|
|
108
|
+
add:
|
|
109
|
+
classification: WRITE
|
|
110
|
+
remove:
|
|
111
|
+
classification: WRITE
|
|
112
|
+
rename:
|
|
113
|
+
classification: WRITE
|
|
114
|
+
set-url:
|
|
115
|
+
classification: WRITE
|
|
116
|
+
prune:
|
|
117
|
+
classification: WRITE
|
|
118
|
+
show:
|
|
119
|
+
classification: READONLY
|
|
120
|
+
get-url:
|
|
121
|
+
classification: READONLY
|
|
122
|
+
tag:
|
|
123
|
+
classification: WRITE
|
|
124
|
+
options:
|
|
125
|
+
-l: {overrides: READONLY}
|
|
126
|
+
--list: {overrides: READONLY, aliases: [-l]}
|
|
127
|
+
-v: {overrides: READONLY}
|
|
128
|
+
--verify: {overrides: READONLY, aliases: [-v]}
|
|
129
|
+
-d: {overrides: WRITE}
|
|
130
|
+
--delete: {overrides: WRITE}
|
|
131
|
+
-a: {overrides: WRITE}
|
|
132
|
+
-s: {overrides: WRITE}
|
|
133
|
+
|
|
134
|
+
# --- Staging and committing ---
|
|
135
|
+
add:
|
|
136
|
+
classification: WRITE
|
|
137
|
+
options:
|
|
138
|
+
-A: {}
|
|
139
|
+
--all: {aliases: [-A]}
|
|
140
|
+
-p: {}
|
|
141
|
+
--patch: {aliases: [-p]}
|
|
142
|
+
-u: {}
|
|
143
|
+
--update: {aliases: [-u]}
|
|
144
|
+
-f: {}
|
|
145
|
+
--force: {aliases: [-f]}
|
|
146
|
+
-n: {}
|
|
147
|
+
--dry-run: {aliases: [-n]}
|
|
148
|
+
commit:
|
|
149
|
+
classification: WRITE
|
|
150
|
+
strict: false
|
|
151
|
+
options:
|
|
152
|
+
-m: {takes_value: true}
|
|
153
|
+
--message: {takes_value: true, aliases: [-m]}
|
|
154
|
+
-a: {}
|
|
155
|
+
--all: {aliases: [-a]}
|
|
156
|
+
--amend: {}
|
|
157
|
+
--no-edit: {}
|
|
158
|
+
--allow-empty: {}
|
|
159
|
+
--fixup: {takes_value: true}
|
|
160
|
+
--squash: {takes_value: true}
|
|
161
|
+
-s: {}
|
|
162
|
+
--signoff: {aliases: [-s]}
|
|
163
|
+
rm:
|
|
164
|
+
classification: WRITE
|
|
165
|
+
strict: false
|
|
166
|
+
options:
|
|
167
|
+
-r: {}
|
|
168
|
+
--cached: {}
|
|
169
|
+
-f: {}
|
|
170
|
+
--force: {aliases: [-f]}
|
|
171
|
+
mv:
|
|
172
|
+
classification: WRITE
|
|
173
|
+
strict: false
|
|
174
|
+
notes:
|
|
175
|
+
classification: WRITE
|
|
176
|
+
strict: false
|
|
177
|
+
subcommands:
|
|
178
|
+
list:
|
|
179
|
+
classification: READONLY
|
|
180
|
+
show:
|
|
181
|
+
classification: READONLY
|
|
182
|
+
add:
|
|
183
|
+
classification: WRITE
|
|
184
|
+
append:
|
|
185
|
+
classification: WRITE
|
|
186
|
+
edit:
|
|
187
|
+
classification: WRITE
|
|
188
|
+
remove:
|
|
189
|
+
classification: WRITE
|
|
190
|
+
prune:
|
|
191
|
+
classification: WRITE
|
|
192
|
+
|
|
193
|
+
# --- Merging and rebasing ---
|
|
194
|
+
merge:
|
|
195
|
+
classification: WRITE
|
|
196
|
+
strict: false
|
|
197
|
+
options:
|
|
198
|
+
--abort: {overrides: DANGEROUS}
|
|
199
|
+
--continue: {}
|
|
200
|
+
--quit: {}
|
|
201
|
+
--no-commit: {}
|
|
202
|
+
--squash: {}
|
|
203
|
+
--no-ff: {}
|
|
204
|
+
--ff-only: {}
|
|
205
|
+
rebase:
|
|
206
|
+
classification: WRITE
|
|
207
|
+
strict: false
|
|
208
|
+
options:
|
|
209
|
+
--abort: {overrides: DANGEROUS}
|
|
210
|
+
--continue: {}
|
|
211
|
+
--skip: {}
|
|
212
|
+
--interactive: {}
|
|
213
|
+
-i: {aliases: [--interactive]}
|
|
214
|
+
--autosquash: {}
|
|
215
|
+
--no-autosquash: {}
|
|
216
|
+
--onto: {takes_value: true}
|
|
217
|
+
cherry-pick:
|
|
218
|
+
classification: WRITE
|
|
219
|
+
strict: false
|
|
220
|
+
options:
|
|
221
|
+
--abort: {overrides: DANGEROUS}
|
|
222
|
+
--continue: {}
|
|
223
|
+
--skip: {}
|
|
224
|
+
revert:
|
|
225
|
+
classification: WRITE
|
|
226
|
+
strict: false
|
|
227
|
+
options:
|
|
228
|
+
--abort: {overrides: DANGEROUS}
|
|
229
|
+
--continue: {}
|
|
230
|
+
|
|
231
|
+
# --- Network commands ---
|
|
232
|
+
push:
|
|
233
|
+
classification: WRITE
|
|
234
|
+
options:
|
|
235
|
+
--force: {overrides: DANGEROUS}
|
|
236
|
+
-f: {overrides: DANGEROUS}
|
|
237
|
+
--force-with-lease: {overrides: WRITE}
|
|
238
|
+
--delete: {overrides: DANGEROUS}
|
|
239
|
+
-u: {}
|
|
240
|
+
--set-upstream: {aliases: [-u]}
|
|
241
|
+
pull:
|
|
242
|
+
classification: WRITE
|
|
243
|
+
strict: false
|
|
244
|
+
fetch:
|
|
245
|
+
classification: WRITE
|
|
246
|
+
strict: false
|
|
247
|
+
options:
|
|
248
|
+
--prune: {overrides: WRITE}
|
|
249
|
+
clone:
|
|
250
|
+
classification: WRITE
|
|
251
|
+
strict: false
|
|
252
|
+
init:
|
|
253
|
+
classification: WRITE
|
|
254
|
+
strict: false
|
|
255
|
+
|
|
256
|
+
# --- Working tree ---
|
|
257
|
+
checkout:
|
|
258
|
+
classification: WRITE
|
|
259
|
+
strict: false
|
|
260
|
+
switch:
|
|
261
|
+
classification: WRITE
|
|
262
|
+
strict: false
|
|
263
|
+
restore:
|
|
264
|
+
classification: WRITE
|
|
265
|
+
strict: false
|
|
266
|
+
stash:
|
|
267
|
+
classification: WRITE
|
|
268
|
+
strict: false
|
|
269
|
+
subcommands:
|
|
270
|
+
push:
|
|
271
|
+
classification: WRITE
|
|
272
|
+
pop:
|
|
273
|
+
classification: WRITE
|
|
274
|
+
apply:
|
|
275
|
+
classification: WRITE
|
|
276
|
+
list:
|
|
277
|
+
classification: READONLY
|
|
278
|
+
show:
|
|
279
|
+
classification: READONLY
|
|
280
|
+
drop:
|
|
281
|
+
classification: DANGEROUS
|
|
282
|
+
clear:
|
|
283
|
+
classification: DANGEROUS
|
|
284
|
+
reset:
|
|
285
|
+
classification: WRITE
|
|
286
|
+
strict: false
|
|
287
|
+
options:
|
|
288
|
+
--hard: {overrides: DANGEROUS}
|
|
289
|
+
--soft: {}
|
|
290
|
+
--mixed: {}
|
|
291
|
+
clean:
|
|
292
|
+
classification: DANGEROUS
|
|
293
|
+
strict: false
|
|
294
|
+
worktree:
|
|
295
|
+
classification: WRITE
|
|
296
|
+
subcommands:
|
|
297
|
+
list:
|
|
298
|
+
classification: READONLY
|
|
299
|
+
strict: false
|
|
300
|
+
add:
|
|
301
|
+
classification: WRITE
|
|
302
|
+
strict: false
|
|
303
|
+
remove:
|
|
304
|
+
classification: WRITE
|
|
305
|
+
prune:
|
|
306
|
+
classification: WRITE
|
|
307
|
+
move:
|
|
308
|
+
classification: WRITE
|
|
309
|
+
lock:
|
|
310
|
+
classification: WRITE
|
|
311
|
+
unlock:
|
|
312
|
+
classification: WRITE
|
|
313
|
+
repair:
|
|
314
|
+
classification: WRITE
|
|
315
|
+
bisect:
|
|
316
|
+
classification: WRITE
|
|
317
|
+
subcommands:
|
|
318
|
+
start:
|
|
319
|
+
classification: WRITE
|
|
320
|
+
strict: false
|
|
321
|
+
bad:
|
|
322
|
+
classification: WRITE
|
|
323
|
+
new:
|
|
324
|
+
classification: WRITE
|
|
325
|
+
good:
|
|
326
|
+
classification: WRITE
|
|
327
|
+
old:
|
|
328
|
+
classification: WRITE
|
|
329
|
+
skip:
|
|
330
|
+
classification: WRITE
|
|
331
|
+
next:
|
|
332
|
+
classification: WRITE
|
|
333
|
+
reset:
|
|
334
|
+
classification: WRITE
|
|
335
|
+
run:
|
|
336
|
+
classification: DANGEROUS
|
|
337
|
+
strict: false
|
|
338
|
+
visualize:
|
|
339
|
+
classification: READONLY
|
|
340
|
+
view:
|
|
341
|
+
classification: READONLY
|
|
342
|
+
log:
|
|
343
|
+
classification: READONLY
|
|
344
|
+
replay:
|
|
345
|
+
classification: WRITE
|
|
346
|
+
terms:
|
|
347
|
+
classification: READONLY
|
|
348
|
+
help:
|
|
349
|
+
classification: READONLY
|
|
350
|
+
|
|
351
|
+
# --- Submodules ---
|
|
352
|
+
submodule:
|
|
353
|
+
classification: READONLY
|
|
354
|
+
subcommands:
|
|
355
|
+
status:
|
|
356
|
+
classification: READONLY
|
|
357
|
+
strict: false
|
|
358
|
+
summary:
|
|
359
|
+
classification: READONLY
|
|
360
|
+
strict: false
|
|
361
|
+
foreach:
|
|
362
|
+
classification: READONLY
|
|
363
|
+
strict: false
|
|
364
|
+
init:
|
|
365
|
+
classification: WRITE
|
|
366
|
+
update:
|
|
367
|
+
classification: WRITE
|
|
368
|
+
strict: false
|
|
369
|
+
add:
|
|
370
|
+
classification: WRITE
|
|
371
|
+
strict: false
|
|
372
|
+
deinit:
|
|
373
|
+
classification: WRITE
|
|
374
|
+
strict: false
|
|
375
|
+
set-branch:
|
|
376
|
+
classification: WRITE
|
|
377
|
+
set-url:
|
|
378
|
+
classification: WRITE
|
|
379
|
+
sync:
|
|
380
|
+
classification: WRITE
|
|
381
|
+
strict: false
|
|
382
|
+
absorbgitdirs:
|
|
383
|
+
classification: WRITE
|
|
384
|
+
|
|
385
|
+
# --- Config ---
|
|
386
|
+
config:
|
|
387
|
+
classification: WRITE
|
|
388
|
+
strict: false
|
|
389
|
+
subcommands:
|
|
390
|
+
list:
|
|
391
|
+
classification: READONLY
|
|
392
|
+
strict: false
|
|
393
|
+
get:
|
|
394
|
+
classification: READONLY
|
|
395
|
+
strict: false
|
|
396
|
+
set:
|
|
397
|
+
classification: WRITE
|
|
398
|
+
strict: false
|
|
399
|
+
unset:
|
|
400
|
+
classification: WRITE
|
|
401
|
+
strict: false
|
|
402
|
+
rename-section:
|
|
403
|
+
classification: WRITE
|
|
404
|
+
remove-section:
|
|
405
|
+
classification: WRITE
|
|
406
|
+
edit:
|
|
407
|
+
classification: WRITE
|
|
408
|
+
|
|
409
|
+
# --- Patches and archives ---
|
|
410
|
+
apply:
|
|
411
|
+
classification: WRITE
|
|
412
|
+
strict: false
|
|
413
|
+
am:
|
|
414
|
+
classification: WRITE
|
|
415
|
+
strict: false
|
|
416
|
+
options:
|
|
417
|
+
--abort: {overrides: DANGEROUS}
|
|
418
|
+
--continue: {}
|
|
419
|
+
--skip: {}
|
|
420
|
+
format-patch:
|
|
421
|
+
classification: WRITE
|
|
422
|
+
strict: false
|
|
423
|
+
options:
|
|
424
|
+
--stdout: {overrides: READONLY}
|
|
425
|
+
archive:
|
|
426
|
+
classification: READONLY
|
|
427
|
+
strict: false
|
|
428
|
+
options:
|
|
429
|
+
-o: {overrides: WRITE, takes_value: true}
|
|
430
|
+
--output: {overrides: WRITE, takes_value: true, aliases: [-o]}
|
|
431
|
+
|
|
432
|
+
# --- Maintenance ---
|
|
433
|
+
gc:
|
|
434
|
+
classification: WRITE
|
|
435
|
+
strict: false
|
|
436
|
+
maintenance:
|
|
437
|
+
classification: WRITE
|
|
438
|
+
strict: false
|
|
439
|
+
fsck:
|
|
440
|
+
classification: READONLY
|
|
441
|
+
strict: false
|