@enjoys/context-engine 1.5.1 → 1.6.0

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 (145) hide show
  1. package/README.md +214 -62
  2. package/data/commands/ab.json +80 -0
  3. package/data/commands/act.json +82 -0
  4. package/data/commands/age.json +68 -0
  5. package/data/commands/argocd.json +109 -0
  6. package/data/commands/asdf.json +102 -0
  7. package/data/commands/astro.json +106 -0
  8. package/data/commands/at.json +52 -0
  9. package/data/commands/babel.json +83 -0
  10. package/data/commands/buildah.json +105 -0
  11. package/data/commands/cabal.json +114 -0
  12. package/data/commands/cdk.json +127 -0
  13. package/data/commands/changeset.json +68 -0
  14. package/data/commands/checkov.json +75 -0
  15. package/data/commands/commitlint.json +60 -0
  16. package/data/commands/concurrently.json +62 -0
  17. package/data/commands/conventional-commits.json +30 -0
  18. package/data/commands/cosign.json +103 -0
  19. package/data/commands/crane.json +109 -0
  20. package/data/commands/cron.json +29 -0
  21. package/data/commands/crystal.json +102 -0
  22. package/data/commands/csvkit.json +96 -0
  23. package/data/commands/cut.json +62 -0
  24. package/data/commands/df.json +66 -0
  25. package/data/commands/diff.json +72 -0
  26. package/data/commands/dig.json +67 -0
  27. package/data/commands/dmesg.json +65 -0
  28. package/data/commands/dotnet.json +136 -0
  29. package/data/commands/du.json +71 -0
  30. package/data/commands/echo.json +45 -0
  31. package/data/commands/eksctl.json +101 -0
  32. package/data/commands/eleventy.json +73 -0
  33. package/data/commands/entr.json +50 -0
  34. package/data/commands/env.json +43 -0
  35. package/data/commands/erlang.json +76 -0
  36. package/data/commands/esbuild.json +91 -0
  37. package/data/commands/ffmpeg.json +115 -0
  38. package/data/commands/fnm.json +100 -0
  39. package/data/commands/free.json +63 -0
  40. package/data/commands/func.json +89 -0
  41. package/data/commands/gatsby.json +106 -0
  42. package/data/commands/ghc.json +79 -0
  43. package/data/commands/ghostscript.json +77 -0
  44. package/data/commands/git-lfs.json +95 -0
  45. package/data/commands/gpg.json +112 -0
  46. package/data/commands/grafana-cli.json +97 -0
  47. package/data/commands/grpcurl.json +74 -0
  48. package/data/commands/grype.json +75 -0
  49. package/data/commands/hadolint.json +61 -0
  50. package/data/commands/head.json +48 -0
  51. package/data/commands/hexo.json +101 -0
  52. package/data/commands/hey.json +91 -0
  53. package/data/commands/hostname.json +52 -0
  54. package/data/commands/httpie.json +101 -0
  55. package/data/commands/hugo.json +106 -0
  56. package/data/commands/husky.json +52 -0
  57. package/data/commands/id.json +50 -0
  58. package/data/commands/ifconfig.json +47 -0
  59. package/data/commands/imagemagick.json +117 -0
  60. package/data/commands/inotifywait.json +70 -0
  61. package/data/commands/ip.json +103 -0
  62. package/data/commands/istioctl.json +105 -0
  63. package/data/commands/javac.json +87 -0
  64. package/data/commands/jekyll.json +105 -0
  65. package/data/commands/kill.json +57 -0
  66. package/data/commands/killall.json +60 -0
  67. package/data/commands/kind.json +98 -0
  68. package/data/commands/ko.json +89 -0
  69. package/data/commands/kustomize.json +70 -0
  70. package/data/commands/latex.json +65 -0
  71. package/data/commands/lerna.json +125 -0
  72. package/data/commands/ln.json +54 -0
  73. package/data/commands/lsof.json +69 -0
  74. package/data/commands/manifest.json +1 -1
  75. package/data/commands/miller.json +58 -0
  76. package/data/commands/mise.json +107 -0
  77. package/data/commands/mix.json +128 -0
  78. package/data/commands/mkdir.json +43 -0
  79. package/data/commands/mount.json +63 -0
  80. package/data/commands/nc.json +71 -0
  81. package/data/commands/netstat.json +74 -0
  82. package/data/commands/nim.json +104 -0
  83. package/data/commands/nohup.json +28 -0
  84. package/data/commands/nslookup.json +46 -0
  85. package/data/commands/nvm.json +91 -0
  86. package/data/commands/ocaml.json +68 -0
  87. package/data/commands/opam.json +111 -0
  88. package/data/commands/pandoc.json +100 -0
  89. package/data/commands/parallel.json +73 -0
  90. package/data/commands/patch.json +55 -0
  91. package/data/commands/ping.json +73 -0
  92. package/data/commands/podman.json +151 -0
  93. package/data/commands/postman.json +82 -0
  94. package/data/commands/pre-commit.json +101 -0
  95. package/data/commands/prometheus.json +65 -0
  96. package/data/commands/pyenv.json +87 -0
  97. package/data/commands/q.json +63 -0
  98. package/data/commands/rbenv.json +85 -0
  99. package/data/commands/rebar3.json +110 -0
  100. package/data/commands/remix.json +80 -0
  101. package/data/commands/rollup.json +74 -0
  102. package/data/commands/route.json +53 -0
  103. package/data/commands/rustc.json +90 -0
  104. package/data/commands/sam.json +122 -0
  105. package/data/commands/sdkman.json +89 -0
  106. package/data/commands/semantic-release.json +58 -0
  107. package/data/commands/semgrep.json +97 -0
  108. package/data/commands/serverless.json +121 -0
  109. package/data/commands/shellcheck.json +61 -0
  110. package/data/commands/skopeo.json +79 -0
  111. package/data/commands/socat.json +43 -0
  112. package/data/commands/sops.json +85 -0
  113. package/data/commands/sort.json +75 -0
  114. package/data/commands/sqlite-utils.json +109 -0
  115. package/data/commands/ss.json +75 -0
  116. package/data/commands/stack.json +115 -0
  117. package/data/commands/storybook.json +90 -0
  118. package/data/commands/strace.json +71 -0
  119. package/data/commands/svelte.json +89 -0
  120. package/data/commands/swc.json +73 -0
  121. package/data/commands/swiftc.json +83 -0
  122. package/data/commands/syft.json +77 -0
  123. package/data/commands/tail.json +58 -0
  124. package/data/commands/tee.json +38 -0
  125. package/data/commands/tflint.json +83 -0
  126. package/data/commands/touch.json +57 -0
  127. package/data/commands/traceroute.json +70 -0
  128. package/data/commands/tracert.json +49 -0
  129. package/data/commands/umount.json +49 -0
  130. package/data/commands/uniq.json +59 -0
  131. package/data/commands/vagrant.json +112 -0
  132. package/data/commands/vegeta.json +59 -0
  133. package/data/commands/volta.json +87 -0
  134. package/data/commands/watch.json +58 -0
  135. package/data/commands/wc.json +50 -0
  136. package/data/commands/webpack.json +94 -0
  137. package/data/commands/which.json +34 -0
  138. package/data/commands/whoami.json +27 -0
  139. package/data/commands/wrangler.json +124 -0
  140. package/data/commands/wrk.json +63 -0
  141. package/data/commands/xargs.json +66 -0
  142. package/data/commands/xsv.json +119 -0
  143. package/data/commands/zig.json +114 -0
  144. package/data/manifest.json +1 -1
  145. package/package.json +2 -2
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "swc",
3
+ "description": "Super-fast TypeScript/JavaScript compiler written in Rust",
4
+ "category": "build-tools",
5
+ "platforms": [
6
+ "linux",
7
+ "macos",
8
+ "windows"
9
+ ],
10
+ "shells": [
11
+ "bash",
12
+ "zsh",
13
+ "fish",
14
+ "powershell"
15
+ ],
16
+ "subcommands": [
17
+ {
18
+ "name": "compile",
19
+ "description": "Compile files (default)",
20
+ "examples": [
21
+ "swc src -d dist"
22
+ ]
23
+ }
24
+ ],
25
+ "globalOptions": [
26
+ {
27
+ "name": "-d",
28
+ "description": "Output directory",
29
+ "type": "string"
30
+ },
31
+ {
32
+ "name": "-s",
33
+ "description": "Generate source maps"
34
+ },
35
+ {
36
+ "name": "--config-file",
37
+ "description": "Path to .swcrc config",
38
+ "type": "file"
39
+ },
40
+ {
41
+ "name": "-w",
42
+ "description": "Watch for changes"
43
+ },
44
+ {
45
+ "name": "--only",
46
+ "description": "Only compile matching files",
47
+ "type": "string"
48
+ },
49
+ {
50
+ "name": "--ignore",
51
+ "description": "Skip matching files",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "name": "-C",
56
+ "description": "Override config values",
57
+ "type": "string"
58
+ }
59
+ ],
60
+ "examples": [
61
+ "swc src -d dist",
62
+ "swc src/index.ts -o dist/index.js",
63
+ "swc src -d dist -w",
64
+ "swc src -d dist -s",
65
+ "npx @swc/cli src -d dist"
66
+ ],
67
+ "relatedCommands": [
68
+ "esbuild",
69
+ "babel",
70
+ "tsc",
71
+ "webpack"
72
+ ]
73
+ }
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "swiftc",
3
+ "description": "Swift compiler",
4
+ "category": "languages",
5
+ "platforms": [
6
+ "linux",
7
+ "macos"
8
+ ],
9
+ "shells": [
10
+ "bash",
11
+ "zsh",
12
+ "fish"
13
+ ],
14
+ "subcommands": [],
15
+ "globalOptions": [
16
+ {
17
+ "name": "-o",
18
+ "description": "Output file",
19
+ "type": "file"
20
+ },
21
+ {
22
+ "name": "-O",
23
+ "description": "Optimize for speed"
24
+ },
25
+ {
26
+ "name": "-Osize",
27
+ "description": "Optimize for size"
28
+ },
29
+ {
30
+ "name": "-g",
31
+ "description": "Include debug info"
32
+ },
33
+ {
34
+ "name": "-emit-library",
35
+ "description": "Emit dynamic library"
36
+ },
37
+ {
38
+ "name": "-emit-object",
39
+ "description": "Emit object file"
40
+ },
41
+ {
42
+ "name": "-module-name",
43
+ "description": "Module name",
44
+ "type": "string"
45
+ },
46
+ {
47
+ "name": "-target",
48
+ "description": "Target triple",
49
+ "type": "string"
50
+ },
51
+ {
52
+ "name": "-I",
53
+ "description": "Add import search path",
54
+ "type": "string"
55
+ },
56
+ {
57
+ "name": "-L",
58
+ "description": "Add library search path",
59
+ "type": "string"
60
+ },
61
+ {
62
+ "name": "-warnings-as-errors",
63
+ "description": "Treat warnings as errors"
64
+ },
65
+ {
66
+ "name": "-parse-as-library",
67
+ "description": "Parse as library (no main)"
68
+ }
69
+ ],
70
+ "examples": [
71
+ "swiftc main.swift",
72
+ "swiftc -o hello main.swift",
73
+ "swiftc -O -o app main.swift",
74
+ "swiftc -emit-library -o libutil.dylib util.swift",
75
+ "swift main.swift"
76
+ ],
77
+ "relatedCommands": [
78
+ "swift",
79
+ "xcodebuild",
80
+ "spm",
81
+ "lldb"
82
+ ]
83
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "name": "syft",
3
+ "description": "Software Bill of Materials (SBOM) generator for containers and filesystems",
4
+ "category": "security",
5
+ "platforms": [
6
+ "linux",
7
+ "macos",
8
+ "windows"
9
+ ],
10
+ "shells": [
11
+ "bash",
12
+ "zsh",
13
+ "fish",
14
+ "powershell"
15
+ ],
16
+ "subcommands": [
17
+ {
18
+ "name": "scan",
19
+ "description": "Generate SBOM from source",
20
+ "examples": [
21
+ "syft scan dir:.",
22
+ "syft scan image:tag"
23
+ ]
24
+ },
25
+ {
26
+ "name": "packages",
27
+ "description": "List packages (alias for scan)",
28
+ "examples": [
29
+ "syft packages image:tag"
30
+ ]
31
+ },
32
+ {
33
+ "name": "attest",
34
+ "description": "Generate SBOM attestation",
35
+ "examples": [
36
+ "syft attest --key cosign.key image:tag"
37
+ ]
38
+ },
39
+ {
40
+ "name": "convert",
41
+ "description": "Convert SBOM format",
42
+ "examples": [
43
+ "syft convert sbom.json -o spdx-json"
44
+ ]
45
+ }
46
+ ],
47
+ "globalOptions": [
48
+ {
49
+ "name": "-o",
50
+ "description": "Output format (syft-json, spdx-json, cyclonedx-json, table)",
51
+ "type": "string"
52
+ },
53
+ {
54
+ "name": "--scope",
55
+ "description": "Analysis scope (squashed, all-layers)",
56
+ "type": "string"
57
+ },
58
+ {
59
+ "name": "--exclude",
60
+ "description": "Exclude paths",
61
+ "type": "string"
62
+ }
63
+ ],
64
+ "examples": [
65
+ "syft scan image:tag",
66
+ "syft scan dir:.",
67
+ "syft scan image:tag -o spdx-json",
68
+ "syft packages image:tag -o cyclonedx-json",
69
+ "syft scan image:tag -o table"
70
+ ],
71
+ "relatedCommands": [
72
+ "grype",
73
+ "cosign",
74
+ "trivy",
75
+ "docker"
76
+ ]
77
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "tail",
3
+ "description": "Output the last part of files",
4
+ "category": "coreutils",
5
+ "platforms": [
6
+ "linux",
7
+ "macos"
8
+ ],
9
+ "shells": [
10
+ "bash",
11
+ "zsh",
12
+ "fish"
13
+ ],
14
+ "subcommands": [],
15
+ "globalOptions": [
16
+ {
17
+ "name": "-n",
18
+ "description": "Output the last N lines",
19
+ "type": "number"
20
+ },
21
+ {
22
+ "name": "-c",
23
+ "description": "Output the last N bytes",
24
+ "type": "number"
25
+ },
26
+ {
27
+ "name": "-f",
28
+ "description": "Follow file as it grows (live)"
29
+ },
30
+ {
31
+ "name": "-F",
32
+ "description": "Follow by name (retry if renamed)"
33
+ },
34
+ {
35
+ "name": "--pid",
36
+ "description": "Terminate after process PID dies",
37
+ "type": "number"
38
+ },
39
+ {
40
+ "name": "-q",
41
+ "description": "Never print headers"
42
+ }
43
+ ],
44
+ "examples": [
45
+ "tail file.txt",
46
+ "tail -n 50 file.txt",
47
+ "tail -f /var/log/syslog",
48
+ "tail -F app.log",
49
+ "tail -n +10 file.txt",
50
+ "tail -f log1.txt log2.txt"
51
+ ],
52
+ "relatedCommands": [
53
+ "head",
54
+ "cat",
55
+ "less",
56
+ "journalctl"
57
+ ]
58
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "tee",
3
+ "description": "Read from stdin and write to stdout and files",
4
+ "category": "coreutils",
5
+ "platforms": [
6
+ "linux",
7
+ "macos"
8
+ ],
9
+ "shells": [
10
+ "bash",
11
+ "zsh",
12
+ "fish"
13
+ ],
14
+ "subcommands": [],
15
+ "globalOptions": [
16
+ {
17
+ "name": "-a",
18
+ "description": "Append to files instead of overwriting"
19
+ },
20
+ {
21
+ "name": "-i",
22
+ "description": "Ignore interrupt signals"
23
+ }
24
+ ],
25
+ "examples": [
26
+ "echo 'hello' | tee output.txt",
27
+ "ls -la | tee listing.txt",
28
+ "make 2>&1 | tee build.log",
29
+ "echo 'data' | tee file1.txt file2.txt",
30
+ "echo 'line' | tee -a log.txt",
31
+ "command | tee /dev/tty | next_command"
32
+ ],
33
+ "relatedCommands": [
34
+ "cat",
35
+ "echo",
36
+ "script"
37
+ ]
38
+ }
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "tflint",
3
+ "description": "Terraform linter focused on possible errors and best practices",
4
+ "category": "devops",
5
+ "platforms": [
6
+ "linux",
7
+ "macos",
8
+ "windows"
9
+ ],
10
+ "shells": [
11
+ "bash",
12
+ "zsh",
13
+ "fish",
14
+ "powershell"
15
+ ],
16
+ "subcommands": [
17
+ {
18
+ "name": "init",
19
+ "description": "Initialize TFLint config and plugins",
20
+ "examples": [
21
+ "tflint --init"
22
+ ]
23
+ }
24
+ ],
25
+ "globalOptions": [
26
+ {
27
+ "name": "--init",
28
+ "description": "Install plugins"
29
+ },
30
+ {
31
+ "name": "--recursive",
32
+ "description": "Run recursively on child modules"
33
+ },
34
+ {
35
+ "name": "--config",
36
+ "description": "Config file path",
37
+ "type": "file"
38
+ },
39
+ {
40
+ "name": "--format",
41
+ "short": "-f",
42
+ "description": "Output format (default, json, checkstyle, junit, compact, sarif)",
43
+ "type": "string"
44
+ },
45
+ {
46
+ "name": "--module",
47
+ "description": "Inspect modules"
48
+ },
49
+ {
50
+ "name": "--var-file",
51
+ "description": "Terraform var file",
52
+ "type": "file"
53
+ },
54
+ {
55
+ "name": "--minimum-failure-severity",
56
+ "description": "Minimum severity for failure (error, warning, notice)",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "--filter",
61
+ "description": "Filter by rule name",
62
+ "type": "string"
63
+ },
64
+ {
65
+ "name": "--force",
66
+ "description": "Return 0 even with errors"
67
+ }
68
+ ],
69
+ "examples": [
70
+ "tflint",
71
+ "tflint --init",
72
+ "tflint --recursive",
73
+ "tflint -f json",
74
+ "tflint --minimum-failure-severity=error",
75
+ "tflint --var-file=vars.tfvars"
76
+ ],
77
+ "relatedCommands": [
78
+ "terraform",
79
+ "checkov",
80
+ "hadolint",
81
+ "semgrep"
82
+ ]
83
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "touch",
3
+ "description": "Change file timestamps or create empty files",
4
+ "category": "coreutils",
5
+ "platforms": [
6
+ "linux",
7
+ "macos"
8
+ ],
9
+ "shells": [
10
+ "bash",
11
+ "zsh",
12
+ "fish"
13
+ ],
14
+ "subcommands": [],
15
+ "globalOptions": [
16
+ {
17
+ "name": "-a",
18
+ "description": "Change only the access time"
19
+ },
20
+ {
21
+ "name": "-m",
22
+ "description": "Change only the modification time"
23
+ },
24
+ {
25
+ "name": "-c",
26
+ "description": "Do not create any files"
27
+ },
28
+ {
29
+ "name": "-t",
30
+ "description": "Use timestamp instead of current time",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "-r",
35
+ "description": "Use reference file's times",
36
+ "type": "file"
37
+ },
38
+ {
39
+ "name": "-d",
40
+ "description": "Parse date string",
41
+ "type": "string"
42
+ }
43
+ ],
44
+ "examples": [
45
+ "touch newfile.txt",
46
+ "touch -c existing.txt",
47
+ "touch -t 202301011200 file.txt",
48
+ "touch -r ref.txt target.txt",
49
+ "touch file1 file2 file3"
50
+ ],
51
+ "relatedCommands": [
52
+ "mkdir",
53
+ "stat",
54
+ "date",
55
+ "ls"
56
+ ]
57
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "traceroute",
3
+ "description": "Print the route packets trace to network host",
4
+ "category": "networking",
5
+ "platforms": [
6
+ "linux",
7
+ "macos"
8
+ ],
9
+ "shells": [
10
+ "bash",
11
+ "zsh",
12
+ "fish"
13
+ ],
14
+ "subcommands": [],
15
+ "globalOptions": [
16
+ {
17
+ "name": "-n",
18
+ "description": "No DNS resolution (numeric only)"
19
+ },
20
+ {
21
+ "name": "-m",
22
+ "description": "Maximum TTL (hops)",
23
+ "type": "number"
24
+ },
25
+ {
26
+ "name": "-w",
27
+ "description": "Wait time per probe (seconds)",
28
+ "type": "number"
29
+ },
30
+ {
31
+ "name": "-q",
32
+ "description": "Number of probes per hop",
33
+ "type": "number"
34
+ },
35
+ {
36
+ "name": "-I",
37
+ "description": "Use ICMP ECHO instead of UDP"
38
+ },
39
+ {
40
+ "name": "-T",
41
+ "description": "Use TCP SYN"
42
+ },
43
+ {
44
+ "name": "-p",
45
+ "description": "Destination port",
46
+ "type": "number"
47
+ },
48
+ {
49
+ "name": "-4",
50
+ "description": "IPv4 only"
51
+ },
52
+ {
53
+ "name": "-6",
54
+ "description": "IPv6 only"
55
+ }
56
+ ],
57
+ "examples": [
58
+ "traceroute google.com",
59
+ "traceroute -n 8.8.8.8",
60
+ "traceroute -I -n google.com",
61
+ "traceroute -m 15 example.com",
62
+ "traceroute -T -p 443 example.com"
63
+ ],
64
+ "relatedCommands": [
65
+ "ping",
66
+ "mtr",
67
+ "dig",
68
+ "nmap"
69
+ ]
70
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "tracert",
3
+ "description": "Trace route to a network host (Windows)",
4
+ "category": "networking",
5
+ "platforms": [
6
+ "windows"
7
+ ],
8
+ "shells": [
9
+ "powershell",
10
+ "cmd"
11
+ ],
12
+ "subcommands": [],
13
+ "globalOptions": [
14
+ {
15
+ "name": "-d",
16
+ "description": "Do not resolve addresses"
17
+ },
18
+ {
19
+ "name": "-h",
20
+ "description": "Maximum hops",
21
+ "type": "number"
22
+ },
23
+ {
24
+ "name": "-w",
25
+ "description": "Timeout in milliseconds",
26
+ "type": "number"
27
+ },
28
+ {
29
+ "name": "-4",
30
+ "description": "Force IPv4"
31
+ },
32
+ {
33
+ "name": "-6",
34
+ "description": "Force IPv6"
35
+ }
36
+ ],
37
+ "examples": [
38
+ "tracert google.com",
39
+ "tracert -d 8.8.8.8",
40
+ "tracert -h 15 example.com",
41
+ "tracert -w 3000 server.local"
42
+ ],
43
+ "relatedCommands": [
44
+ "traceroute",
45
+ "ping",
46
+ "pathping",
47
+ "netstat"
48
+ ]
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "umount",
3
+ "description": "Unmount a filesystem",
4
+ "category": "system",
5
+ "platforms": [
6
+ "linux",
7
+ "macos"
8
+ ],
9
+ "shells": [
10
+ "bash",
11
+ "zsh",
12
+ "fish"
13
+ ],
14
+ "subcommands": [],
15
+ "globalOptions": [
16
+ {
17
+ "name": "-f",
18
+ "description": "Force unmount"
19
+ },
20
+ {
21
+ "name": "-l",
22
+ "description": "Lazy unmount (detach now, cleanup later)"
23
+ },
24
+ {
25
+ "name": "-R",
26
+ "description": "Recursively unmount"
27
+ },
28
+ {
29
+ "name": "-v",
30
+ "description": "Verbose mode"
31
+ },
32
+ {
33
+ "name": "-a",
34
+ "description": "Unmount all"
35
+ }
36
+ ],
37
+ "examples": [
38
+ "umount /mnt/usb",
39
+ "umount -l /mnt/stuck",
40
+ "sudo umount -f /mnt/nfs",
41
+ "umount /dev/sdb1"
42
+ ],
43
+ "relatedCommands": [
44
+ "mount",
45
+ "df",
46
+ "lsblk",
47
+ "fuser"
48
+ ]
49
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "uniq",
3
+ "description": "Report or omit repeated lines",
4
+ "category": "coreutils",
5
+ "platforms": [
6
+ "linux",
7
+ "macos"
8
+ ],
9
+ "shells": [
10
+ "bash",
11
+ "zsh",
12
+ "fish"
13
+ ],
14
+ "subcommands": [],
15
+ "globalOptions": [
16
+ {
17
+ "name": "-c",
18
+ "description": "Prefix lines by the number of occurrences"
19
+ },
20
+ {
21
+ "name": "-d",
22
+ "description": "Only print duplicate lines"
23
+ },
24
+ {
25
+ "name": "-u",
26
+ "description": "Only print unique lines"
27
+ },
28
+ {
29
+ "name": "-i",
30
+ "description": "Ignore case when comparing"
31
+ },
32
+ {
33
+ "name": "-f",
34
+ "description": "Skip N fields before comparing",
35
+ "type": "number"
36
+ },
37
+ {
38
+ "name": "-s",
39
+ "description": "Skip N characters before comparing",
40
+ "type": "number"
41
+ },
42
+ {
43
+ "name": "-w",
44
+ "description": "Compare no more than N characters",
45
+ "type": "number"
46
+ }
47
+ ],
48
+ "examples": [
49
+ "sort file.txt | uniq",
50
+ "sort file.txt | uniq -c",
51
+ "sort file.txt | uniq -d",
52
+ "sort file.txt | uniq -c | sort -rn | head"
53
+ ],
54
+ "relatedCommands": [
55
+ "sort",
56
+ "wc",
57
+ "comm"
58
+ ]
59
+ }