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,29 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: pip3
|
|
3
|
+
description: "Python package installer"
|
|
4
|
+
strict: false
|
|
5
|
+
subcommands:
|
|
6
|
+
list:
|
|
7
|
+
classification: READONLY
|
|
8
|
+
strict: false
|
|
9
|
+
show:
|
|
10
|
+
classification: READONLY
|
|
11
|
+
strict: false
|
|
12
|
+
freeze:
|
|
13
|
+
classification: READONLY
|
|
14
|
+
search:
|
|
15
|
+
classification: READONLY
|
|
16
|
+
check:
|
|
17
|
+
classification: READONLY
|
|
18
|
+
install:
|
|
19
|
+
classification: WRITE
|
|
20
|
+
strict: false
|
|
21
|
+
uninstall:
|
|
22
|
+
classification: WRITE
|
|
23
|
+
strict: false
|
|
24
|
+
download:
|
|
25
|
+
classification: WRITE
|
|
26
|
+
strict: false
|
|
27
|
+
wheel:
|
|
28
|
+
classification: WRITE
|
|
29
|
+
strict: false
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: poetry
|
|
3
|
+
description: "Python dependency management and packaging"
|
|
4
|
+
strict: false
|
|
5
|
+
subcommands:
|
|
6
|
+
show:
|
|
7
|
+
classification: READONLY
|
|
8
|
+
strict: false
|
|
9
|
+
version:
|
|
10
|
+
classification: READONLY
|
|
11
|
+
strict: false
|
|
12
|
+
search:
|
|
13
|
+
classification: READONLY
|
|
14
|
+
strict: false
|
|
15
|
+
check:
|
|
16
|
+
classification: READONLY
|
|
17
|
+
strict: false
|
|
18
|
+
env:
|
|
19
|
+
strict: false
|
|
20
|
+
subcommands:
|
|
21
|
+
info:
|
|
22
|
+
classification: READONLY
|
|
23
|
+
list:
|
|
24
|
+
classification: READONLY
|
|
25
|
+
use:
|
|
26
|
+
classification: WRITE
|
|
27
|
+
strict: false
|
|
28
|
+
remove:
|
|
29
|
+
classification: WRITE
|
|
30
|
+
strict: false
|
|
31
|
+
config:
|
|
32
|
+
classification: WRITE
|
|
33
|
+
strict: false
|
|
34
|
+
subcommands:
|
|
35
|
+
list:
|
|
36
|
+
classification: READONLY
|
|
37
|
+
install:
|
|
38
|
+
classification: WRITE
|
|
39
|
+
strict: false
|
|
40
|
+
update:
|
|
41
|
+
classification: WRITE
|
|
42
|
+
strict: false
|
|
43
|
+
add:
|
|
44
|
+
classification: WRITE
|
|
45
|
+
strict: false
|
|
46
|
+
remove:
|
|
47
|
+
classification: WRITE
|
|
48
|
+
strict: false
|
|
49
|
+
lock:
|
|
50
|
+
classification: WRITE
|
|
51
|
+
strict: false
|
|
52
|
+
build:
|
|
53
|
+
classification: WRITE
|
|
54
|
+
strict: false
|
|
55
|
+
init:
|
|
56
|
+
classification: WRITE
|
|
57
|
+
strict: false
|
|
58
|
+
new:
|
|
59
|
+
classification: WRITE
|
|
60
|
+
strict: false
|
|
61
|
+
shell:
|
|
62
|
+
classification: WRITE
|
|
63
|
+
publish:
|
|
64
|
+
classification: DANGEROUS
|
|
65
|
+
strict: false
|
|
66
|
+
run:
|
|
67
|
+
classification: DANGEROUS
|
|
68
|
+
strict: false
|
|
69
|
+
self:
|
|
70
|
+
strict: false
|
|
71
|
+
subcommands:
|
|
72
|
+
update:
|
|
73
|
+
classification: WRITE
|
|
74
|
+
strict: false
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: rsync
|
|
3
|
+
description: "Fast, versatile file copying tool"
|
|
4
|
+
classification: WRITE
|
|
5
|
+
strict: false
|
|
6
|
+
options:
|
|
7
|
+
-n: {overrides: READONLY}
|
|
8
|
+
--dry-run: {overrides: READONLY, aliases: [-n]}
|
|
9
|
+
--delete: {overrides: DANGEROUS}
|
|
10
|
+
--list-only: {overrides: READONLY}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: sed
|
|
3
|
+
description: "Stream editor for filtering and transforming text"
|
|
4
|
+
classification: READONLY
|
|
5
|
+
strict: false
|
|
6
|
+
options:
|
|
7
|
+
-i: {overrides: WRITE}
|
|
8
|
+
--in-place: {overrides: WRITE, aliases: [-i]}
|
|
9
|
+
-e: {takes_value: true}
|
|
10
|
+
--expression: {takes_value: true, aliases: [-e]}
|
|
11
|
+
-f: {takes_value: true}
|
|
12
|
+
--file: {takes_value: true, aliases: [-f]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: sh
|
|
3
|
+
description: "POSIX-compliant command interpreter"
|
|
4
|
+
classification: DANGEROUS
|
|
5
|
+
delegates_to:
|
|
6
|
+
mode: flag_value_is_expression
|
|
7
|
+
flag: -c
|
|
8
|
+
options:
|
|
9
|
+
-c: {takes_value: true}
|
|
10
|
+
-e: {}
|
|
11
|
+
-x: {}
|
|
12
|
+
-i: {}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: sort
|
|
3
|
+
description: "Sort lines of text files"
|
|
4
|
+
classification: READONLY
|
|
5
|
+
strict: false
|
|
6
|
+
options:
|
|
7
|
+
-o: {takes_value: true, overrides: WRITE}
|
|
8
|
+
--output: {takes_value: true, overrides: WRITE, aliases: [-o]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: ssh
|
|
3
|
+
description: "OpenSSH remote login client"
|
|
4
|
+
classification: DANGEROUS
|
|
5
|
+
strict: false
|
|
6
|
+
options:
|
|
7
|
+
-l: {takes_value: true}
|
|
8
|
+
-p: {takes_value: true}
|
|
9
|
+
-i: {takes_value: true}
|
|
10
|
+
-F: {takes_value: true}
|
|
11
|
+
-o: {takes_value: true}
|
|
12
|
+
-J: {takes_value: true}
|
|
13
|
+
-L: {takes_value: true}
|
|
14
|
+
-R: {takes_value: true}
|
|
15
|
+
-D: {takes_value: true}
|
|
16
|
+
-W: {takes_value: true}
|
|
17
|
+
-b: {takes_value: true}
|
|
18
|
+
-c: {takes_value: true}
|
|
19
|
+
-e: {takes_value: true}
|
|
20
|
+
-m: {takes_value: true}
|
|
21
|
+
-w: {takes_value: true}
|
|
22
|
+
-N: {}
|
|
23
|
+
-f: {}
|
|
24
|
+
-n: {}
|
|
25
|
+
-q: {}
|
|
26
|
+
-t: {}
|
|
27
|
+
-T: {}
|
|
28
|
+
-v: {}
|
|
29
|
+
-X: {}
|
|
30
|
+
-x: {}
|
|
31
|
+
-A: {}
|
|
32
|
+
-a: {}
|
|
33
|
+
-C: {}
|
|
34
|
+
-g: {}
|
|
35
|
+
-K: {}
|
|
36
|
+
-k: {}
|
|
37
|
+
-s: {}
|
|
38
|
+
-4: {}
|
|
39
|
+
-6: {}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: strace
|
|
3
|
+
description: "Trace system calls and signals"
|
|
4
|
+
classification: WRITE
|
|
5
|
+
delegates_to:
|
|
6
|
+
mode: rest_are_argv
|
|
7
|
+
options:
|
|
8
|
+
-e: {takes_value: true}
|
|
9
|
+
-p: {takes_value: true}
|
|
10
|
+
-o: {takes_value: true}
|
|
11
|
+
-f: {}
|
|
12
|
+
-ff: {}
|
|
13
|
+
-t: {}
|
|
14
|
+
-tt: {}
|
|
15
|
+
-T: {}
|
|
16
|
+
-v: {}
|
|
17
|
+
-s: {takes_value: true}
|
|
18
|
+
-c: {}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: sudo
|
|
3
|
+
description: "Execute a command as another user"
|
|
4
|
+
classification: DANGEROUS
|
|
5
|
+
delegates_to:
|
|
6
|
+
mode: rest_are_argv
|
|
7
|
+
min_classification: DANGEROUS
|
|
8
|
+
options:
|
|
9
|
+
-u: {takes_value: true}
|
|
10
|
+
--user: {takes_value: true, aliases: [-u]}
|
|
11
|
+
-g: {takes_value: true}
|
|
12
|
+
--group: {takes_value: true, aliases: [-g]}
|
|
13
|
+
-H: {}
|
|
14
|
+
--set-home: {}
|
|
15
|
+
-E: {}
|
|
16
|
+
--preserve-env: {}
|
|
17
|
+
-n: {}
|
|
18
|
+
--non-interactive: {}
|
|
19
|
+
-S: {}
|
|
20
|
+
--stdin: {}
|
|
21
|
+
-k: {}
|
|
22
|
+
--reset-timestamp: {}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: systemctl
|
|
3
|
+
description: "Control the systemd system and service manager"
|
|
4
|
+
classification: DANGEROUS
|
|
5
|
+
strict: false
|
|
6
|
+
subcommands:
|
|
7
|
+
status:
|
|
8
|
+
classification: READONLY
|
|
9
|
+
is-active:
|
|
10
|
+
classification: READONLY
|
|
11
|
+
is-enabled:
|
|
12
|
+
classification: READONLY
|
|
13
|
+
is-failed:
|
|
14
|
+
classification: READONLY
|
|
15
|
+
list-units:
|
|
16
|
+
classification: READONLY
|
|
17
|
+
list-unit-files:
|
|
18
|
+
classification: READONLY
|
|
19
|
+
show:
|
|
20
|
+
classification: READONLY
|
|
21
|
+
start:
|
|
22
|
+
classification: DANGEROUS
|
|
23
|
+
stop:
|
|
24
|
+
classification: DANGEROUS
|
|
25
|
+
restart:
|
|
26
|
+
classification: DANGEROUS
|
|
27
|
+
reload:
|
|
28
|
+
classification: DANGEROUS
|
|
29
|
+
enable:
|
|
30
|
+
classification: WRITE
|
|
31
|
+
disable:
|
|
32
|
+
classification: WRITE
|
|
33
|
+
mask:
|
|
34
|
+
classification: DANGEROUS
|
|
35
|
+
unmask:
|
|
36
|
+
classification: WRITE
|
|
37
|
+
daemon-reload:
|
|
38
|
+
classification: DANGEROUS
|
|
39
|
+
cat:
|
|
40
|
+
classification: READONLY
|
|
41
|
+
list-dependencies:
|
|
42
|
+
classification: READONLY
|
|
43
|
+
list-timers:
|
|
44
|
+
classification: READONLY
|
|
45
|
+
list-sockets:
|
|
46
|
+
classification: READONLY
|
|
47
|
+
kill:
|
|
48
|
+
classification: DANGEROUS
|
|
49
|
+
edit:
|
|
50
|
+
classification: DANGEROUS
|
|
51
|
+
poweroff:
|
|
52
|
+
classification: DANGEROUS
|
|
53
|
+
reboot:
|
|
54
|
+
classification: DANGEROUS
|
|
55
|
+
halt:
|
|
56
|
+
classification: DANGEROUS
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: tar
|
|
3
|
+
description: "Archive utility for creating and extracting tarballs"
|
|
4
|
+
classification: WRITE
|
|
5
|
+
strict: false
|
|
6
|
+
options:
|
|
7
|
+
-t: {overrides: READONLY}
|
|
8
|
+
--list: {overrides: READONLY, aliases: [-t]}
|
|
9
|
+
-c: {}
|
|
10
|
+
--create: {aliases: [-c]}
|
|
11
|
+
-x: {}
|
|
12
|
+
--extract: {aliases: [-x]}
|
|
13
|
+
-f: {takes_value: true}
|
|
14
|
+
--file: {takes_value: true, aliases: [-f]}
|
|
15
|
+
-z: {}
|
|
16
|
+
--gzip: {aliases: [-z]}
|
|
17
|
+
-j: {}
|
|
18
|
+
--bzip2: {aliases: [-j]}
|
|
19
|
+
-v: {}
|
|
20
|
+
--verbose: {aliases: [-v]}
|
|
21
|
+
-C: {takes_value: true, captures_directory: true}
|
|
22
|
+
--directory: {takes_value: true, captures_directory: true, aliases: [-C]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: terraform
|
|
3
|
+
description: "Infrastructure as code tool by HashiCorp"
|
|
4
|
+
classification: DANGEROUS
|
|
5
|
+
strict: false
|
|
6
|
+
subcommands:
|
|
7
|
+
init:
|
|
8
|
+
classification: WRITE
|
|
9
|
+
plan:
|
|
10
|
+
classification: READONLY
|
|
11
|
+
apply:
|
|
12
|
+
classification: DANGEROUS
|
|
13
|
+
destroy:
|
|
14
|
+
classification: DANGEROUS
|
|
15
|
+
show:
|
|
16
|
+
classification: READONLY
|
|
17
|
+
output:
|
|
18
|
+
classification: READONLY
|
|
19
|
+
state:
|
|
20
|
+
classification: READONLY
|
|
21
|
+
subcommands:
|
|
22
|
+
list:
|
|
23
|
+
classification: READONLY
|
|
24
|
+
show:
|
|
25
|
+
classification: READONLY
|
|
26
|
+
mv:
|
|
27
|
+
classification: DANGEROUS
|
|
28
|
+
rm:
|
|
29
|
+
classification: DANGEROUS
|
|
30
|
+
pull:
|
|
31
|
+
classification: WRITE
|
|
32
|
+
push:
|
|
33
|
+
classification: WRITE
|
|
34
|
+
validate:
|
|
35
|
+
classification: READONLY
|
|
36
|
+
fmt:
|
|
37
|
+
classification: WRITE
|
|
38
|
+
workspace:
|
|
39
|
+
classification: READONLY
|
|
40
|
+
subcommands:
|
|
41
|
+
list:
|
|
42
|
+
classification: READONLY
|
|
43
|
+
show:
|
|
44
|
+
classification: READONLY
|
|
45
|
+
new:
|
|
46
|
+
classification: WRITE
|
|
47
|
+
select:
|
|
48
|
+
classification: WRITE
|
|
49
|
+
delete:
|
|
50
|
+
classification: DANGEROUS
|
|
51
|
+
import:
|
|
52
|
+
classification: DANGEROUS
|
|
53
|
+
refresh:
|
|
54
|
+
classification: WRITE
|
|
55
|
+
providers:
|
|
56
|
+
classification: READONLY
|
|
57
|
+
console:
|
|
58
|
+
classification: DANGEROUS
|
|
59
|
+
taint:
|
|
60
|
+
classification: DANGEROUS
|
|
61
|
+
untaint:
|
|
62
|
+
classification: DANGEROUS
|
|
63
|
+
force-unlock:
|
|
64
|
+
classification: DANGEROUS
|
|
65
|
+
graph:
|
|
66
|
+
classification: READONLY
|
|
67
|
+
test:
|
|
68
|
+
classification: READONLY
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# $schema: ../../../schemas/command.schema.json
|
|
2
|
+
command: timeout
|
|
3
|
+
description: "Run a command with a time limit"
|
|
4
|
+
classification: READONLY
|
|
5
|
+
delegates_to:
|
|
6
|
+
mode: rest_are_argv
|
|
7
|
+
options:
|
|
8
|
+
-k: {takes_value: true}
|
|
9
|
+
--kill-after: {takes_value: true, aliases: [-k]}
|
|
10
|
+
-s: {takes_value: true}
|
|
11
|
+
--signal: {takes_value: true, aliases: [-s]}
|
|
12
|
+
--foreground: {}
|
|
13
|
+
--preserve-status: {}
|
|
14
|
+
-v: {}
|
|
15
|
+
--verbose: {}
|