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.
Files changed (142) hide show
  1. bash_classify/__init__.py +14 -0
  2. bash_classify/__main__.py +3 -0
  3. bash_classify/classifier.py +244 -0
  4. bash_classify/cli.py +110 -0
  5. bash_classify/commands/apt.yaml +23 -0
  6. bash_classify/commands/awk.yaml +5 -0
  7. bash_classify/commands/basename.yaml +5 -0
  8. bash_classify/commands/bash.yaml +18 -0
  9. bash_classify/commands/brew.yaml +25 -0
  10. bash_classify/commands/builtin.yaml +6 -0
  11. bash_classify/commands/cargo.yaml +29 -0
  12. bash_classify/commands/cat.yaml +5 -0
  13. bash_classify/commands/chgrp.yaml +8 -0
  14. bash_classify/commands/chmod.yaml +8 -0
  15. bash_classify/commands/chown.yaml +8 -0
  16. bash_classify/commands/column.yaml +5 -0
  17. bash_classify/commands/comm.yaml +5 -0
  18. bash_classify/commands/command.yaml +10 -0
  19. bash_classify/commands/cp.yaml +5 -0
  20. bash_classify/commands/curl.yaml +28 -0
  21. bash_classify/commands/cut.yaml +5 -0
  22. bash_classify/commands/date.yaml +8 -0
  23. bash_classify/commands/df.yaml +5 -0
  24. bash_classify/commands/diff.yaml +5 -0
  25. bash_classify/commands/dig.yaml +5 -0
  26. bash_classify/commands/dirname.yaml +5 -0
  27. bash_classify/commands/docker.yaml +152 -0
  28. bash_classify/commands/du.yaml +5 -0
  29. bash_classify/commands/echo.yaml +5 -0
  30. bash_classify/commands/env.yaml +14 -0
  31. bash_classify/commands/expand.yaml +5 -0
  32. bash_classify/commands/false.yaml +5 -0
  33. bash_classify/commands/file.yaml +5 -0
  34. bash_classify/commands/find.yaml +27 -0
  35. bash_classify/commands/fmt.yaml +5 -0
  36. bash_classify/commands/fold.yaml +5 -0
  37. bash_classify/commands/free.yaml +5 -0
  38. bash_classify/commands/gawk.yaml +5 -0
  39. bash_classify/commands/git.yaml +441 -0
  40. bash_classify/commands/go.yaml +38 -0
  41. bash_classify/commands/grep.yaml +5 -0
  42. bash_classify/commands/groups.yaml +5 -0
  43. bash_classify/commands/gunzip.yaml +5 -0
  44. bash_classify/commands/gzip.yaml +5 -0
  45. bash_classify/commands/head.yaml +5 -0
  46. bash_classify/commands/helm.yaml +127 -0
  47. bash_classify/commands/hostname.yaml +5 -0
  48. bash_classify/commands/id.yaml +5 -0
  49. bash_classify/commands/install.yaml +5 -0
  50. bash_classify/commands/join.yaml +5 -0
  51. bash_classify/commands/journalctl.yaml +12 -0
  52. bash_classify/commands/jq.yaml +5 -0
  53. bash_classify/commands/kill.yaml +5 -0
  54. bash_classify/commands/killall.yaml +5 -0
  55. bash_classify/commands/kubectl.yaml +190 -0
  56. bash_classify/commands/less.yaml +5 -0
  57. bash_classify/commands/ln.yaml +5 -0
  58. bash_classify/commands/ls.yaml +5 -0
  59. bash_classify/commands/make.yaml +19 -0
  60. bash_classify/commands/md5sum.yaml +5 -0
  61. bash_classify/commands/mkdir.yaml +5 -0
  62. bash_classify/commands/more.yaml +5 -0
  63. bash_classify/commands/mv.yaml +5 -0
  64. bash_classify/commands/netstat.yaml +5 -0
  65. bash_classify/commands/nice.yaml +9 -0
  66. bash_classify/commands/nl.yaml +5 -0
  67. bash_classify/commands/node.yaml +5 -0
  68. bash_classify/commands/nohup.yaml +6 -0
  69. bash_classify/commands/npm.yaml +65 -0
  70. bash_classify/commands/nslookup.yaml +5 -0
  71. bash_classify/commands/paste.yaml +5 -0
  72. bash_classify/commands/ping.yaml +5 -0
  73. bash_classify/commands/pip.yaml +29 -0
  74. bash_classify/commands/pip3.yaml +29 -0
  75. bash_classify/commands/pkill.yaml +5 -0
  76. bash_classify/commands/poetry.yaml +74 -0
  77. bash_classify/commands/printenv.yaml +5 -0
  78. bash_classify/commands/printf.yaml +5 -0
  79. bash_classify/commands/ps.yaml +5 -0
  80. bash_classify/commands/pwd.yaml +5 -0
  81. bash_classify/commands/python.yaml +5 -0
  82. bash_classify/commands/python3.yaml +5 -0
  83. bash_classify/commands/read.yaml +5 -0
  84. bash_classify/commands/readlink.yaml +5 -0
  85. bash_classify/commands/realpath.yaml +5 -0
  86. bash_classify/commands/rev.yaml +5 -0
  87. bash_classify/commands/rm.yaml +5 -0
  88. bash_classify/commands/rsync.yaml +10 -0
  89. bash_classify/commands/scp.yaml +5 -0
  90. bash_classify/commands/sed.yaml +12 -0
  91. bash_classify/commands/seq.yaml +5 -0
  92. bash_classify/commands/sh.yaml +12 -0
  93. bash_classify/commands/sha1sum.yaml +5 -0
  94. bash_classify/commands/sha256sum.yaml +5 -0
  95. bash_classify/commands/sort.yaml +8 -0
  96. bash_classify/commands/ss.yaml +5 -0
  97. bash_classify/commands/ssh.yaml +39 -0
  98. bash_classify/commands/stat.yaml +5 -0
  99. bash_classify/commands/strace.yaml +18 -0
  100. bash_classify/commands/sudo.yaml +22 -0
  101. bash_classify/commands/systemctl.yaml +56 -0
  102. bash_classify/commands/tac.yaml +5 -0
  103. bash_classify/commands/tail.yaml +5 -0
  104. bash_classify/commands/tar.yaml +22 -0
  105. bash_classify/commands/tee.yaml +5 -0
  106. bash_classify/commands/terraform.yaml +68 -0
  107. bash_classify/commands/test.yaml +5 -0
  108. bash_classify/commands/time.yaml +6 -0
  109. bash_classify/commands/timeout.yaml +15 -0
  110. bash_classify/commands/top.yaml +5 -0
  111. bash_classify/commands/touch.yaml +5 -0
  112. bash_classify/commands/tr.yaml +5 -0
  113. bash_classify/commands/traceroute.yaml +5 -0
  114. bash_classify/commands/true.yaml +5 -0
  115. bash_classify/commands/type.yaml +5 -0
  116. bash_classify/commands/uname.yaml +5 -0
  117. bash_classify/commands/unexpand.yaml +5 -0
  118. bash_classify/commands/uniq.yaml +5 -0
  119. bash_classify/commands/unzip.yaml +7 -0
  120. bash_classify/commands/uptime.yaml +5 -0
  121. bash_classify/commands/uv.yaml +117 -0
  122. bash_classify/commands/wc.yaml +5 -0
  123. bash_classify/commands/wget.yaml +5 -0
  124. bash_classify/commands/whereis.yaml +5 -0
  125. bash_classify/commands/which.yaml +5 -0
  126. bash_classify/commands/whoami.yaml +5 -0
  127. bash_classify/commands/xargs.yaml +25 -0
  128. bash_classify/commands/xmllint.yaml +5 -0
  129. bash_classify/commands/yes.yaml +5 -0
  130. bash_classify/commands/yq.yaml +8 -0
  131. bash_classify/commands/zip.yaml +5 -0
  132. bash_classify/commands/zsh.yaml +12 -0
  133. bash_classify/database.py +257 -0
  134. bash_classify/matcher.py +702 -0
  135. bash_classify/models.py +148 -0
  136. bash_classify/parser.py +525 -0
  137. bash_classify/py.typed +0 -0
  138. bash_classify-0.1.0.dist-info/METADATA +147 -0
  139. bash_classify-0.1.0.dist-info/RECORD +142 -0
  140. bash_classify-0.1.0.dist-info/WHEEL +4 -0
  141. bash_classify-0.1.0.dist-info/entry_points.txt +2 -0
  142. 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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: pkill
3
+ description: "Send signals to processes by name or pattern"
4
+ classification: DANGEROUS
5
+ 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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: printenv
3
+ description: "Print all or part of environment variables"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: printf
3
+ description: "Format and print data"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: ps
3
+ description: "Report a snapshot of current processes"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: pwd
3
+ description: "Print name of current working directory"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: python
3
+ description: "Python language interpreter"
4
+ classification: DANGEROUS
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: python3
3
+ description: "Python 3 language interpreter"
4
+ classification: DANGEROUS
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: read
3
+ description: "Read a line from standard input"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: readlink
3
+ description: "Print resolved symbolic links or canonical names"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: realpath
3
+ description: "Print the resolved absolute path"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: rev
3
+ description: "Reverse lines character-wise"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: rm
3
+ description: "Remove files or directories"
4
+ classification: DANGEROUS
5
+ 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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: scp
3
+ description: "Secure copy files between hosts"
4
+ classification: WRITE
5
+ strict: false
@@ -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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: seq
3
+ description: "Print a sequence of numbers"
4
+ classification: READONLY
5
+ strict: false
@@ -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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: sha1sum
3
+ description: "Compute and check SHA-1 message digest"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: sha256sum
3
+ description: "Compute and check SHA-256 message digest"
4
+ classification: READONLY
5
+ strict: false
@@ -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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: ss
3
+ description: "Utility to investigate sockets"
4
+ classification: READONLY
5
+ strict: false
@@ -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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: stat
3
+ description: "Display file or file system status"
4
+ classification: READONLY
5
+ strict: false
@@ -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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: tac
3
+ description: "Concatenate and print files in reverse"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: tail
3
+ description: "Output the last part of files"
4
+ classification: READONLY
5
+ strict: false
@@ -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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: tee
3
+ description: "Read from stdin and write to stdout and files"
4
+ classification: WRITE
5
+ strict: false
@@ -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,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: test
3
+ description: "Evaluate conditional expressions"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,6 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: time
3
+ description: "Time a command execution"
4
+ classification: READONLY
5
+ delegates_to:
6
+ mode: rest_are_argv
@@ -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: {}
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: top
3
+ description: "Display Linux processes in real time"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: touch
3
+ description: "Change file timestamps or create empty files"
4
+ classification: WRITE
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: tr
3
+ description: "Translate or delete characters"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: traceroute
3
+ description: "Print the route packets take to a host"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: "true"
3
+ description: "Return a successful exit status"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: type
3
+ description: "Display information about command type"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: uname
3
+ description: "Print system information"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: unexpand
3
+ description: "Convert spaces to tabs"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: uniq
3
+ description: "Report or omit repeated lines"
4
+ classification: READONLY
5
+ strict: false
@@ -0,0 +1,7 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: unzip
3
+ description: "Extract files from ZIP archives"
4
+ classification: WRITE
5
+ strict: false
6
+ options:
7
+ -l: {overrides: READONLY}
@@ -0,0 +1,5 @@
1
+ # $schema: ../../../schemas/command.schema.json
2
+ command: uptime
3
+ description: "Show how long the system has been running"
4
+ classification: READONLY
5
+ strict: false