@enjoys/context-engine 1.0.0 → 1.0.2
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.
- package/data/commands/adb.json +322 -0
- package/data/commands/alembic.json +301 -0
- package/data/commands/artisan.json +277 -0
- package/data/commands/atlas.json +426 -0
- package/data/commands/auth0.json +648 -0
- package/data/commands/bat.json +84 -0
- package/data/commands/btop.json +59 -0
- package/data/commands/bundle.json +321 -0
- package/data/commands/composer.json +507 -0
- package/data/commands/dart.json +216 -0
- package/data/commands/dbmate.json +257 -0
- package/data/commands/docker-compose.json +384 -0
- package/data/commands/drizzle-kit.json +217 -0
- package/data/commands/expo.json +65 -0
- package/data/commands/fastlane.json +243 -0
- package/data/commands/fd.json +86 -0
- package/data/commands/flutter.json +298 -0
- package/data/commands/flyway.json +261 -0
- package/data/commands/fzf.json +103 -0
- package/data/commands/gem.json +267 -0
- package/data/commands/htop.json +56 -0
- package/data/commands/jq.json +100 -0
- package/data/commands/k9s.json +62 -0
- package/data/commands/linux.json +3007 -0
- package/data/commands/liquibase.json +399 -0
- package/data/commands/manifest.json +619 -0
- package/data/commands/minikube.json +60 -0
- package/data/commands/ng.json +64 -0
- package/data/commands/nuxt.json +60 -0
- package/data/commands/nvim.json +91 -0
- package/data/commands/php.json +157 -0
- package/data/commands/pm2.json +259 -0
- package/data/commands/pod.json +175 -0
- package/data/commands/prisma.json +257 -0
- package/data/commands/rails.json +372 -0
- package/data/commands/rake.json +360 -0
- package/data/commands/react-native.json +57 -0
- package/data/commands/rg.json +103 -0
- package/data/commands/rspec.json +257 -0
- package/data/commands/ruby.json +108 -0
- package/data/commands/screen.json +101 -0
- package/data/commands/sequelize.json +342 -0
- package/data/commands/snyk.json +442 -0
- package/data/commands/sonar-scanner.json +219 -0
- package/data/commands/stripe.json +314 -0
- package/data/commands/symfony.json +449 -0
- package/data/commands/tmux.json +197 -0
- package/data/commands/top.json +61 -0
- package/data/commands/trivy.json +367 -0
- package/data/commands/twilio.json +382 -0
- package/data/commands/typeorm.json +262 -0
- package/data/commands/vim.json +85 -0
- package/data/commands/vue.json +60 -0
- package/data/commands/wp.json +857 -0
- package/data/commands/xcodebuild.json +141 -0
- package/data/commands/yq.json +57 -0
- package/data/completion/bash.json +1184 -0
- package/data/completion/c.json +1067 -0
- package/data/completion/cpp.json +824 -0
- package/data/completion/csharp.json +860 -0
- package/data/completion/dockerfile.json +536 -0
- package/data/completion/go.json +1346 -0
- package/data/completion/html.json +806 -0
- package/data/completion/java.json +1112 -0
- package/data/completion/javascript.json +914 -0
- package/data/completion/lua.json +968 -0
- package/data/completion/php.json +1535 -0
- package/data/completion/python.json +1427 -0
- package/data/completion/ruby.json +1531 -0
- package/data/completion/rust.json +698 -0
- package/data/completion/sql.json +887 -0
- package/data/completion/toml.json +428 -0
- package/data/completion/typescript.json +338 -0
- package/data/completion/yaml.json +563 -0
- package/data/defination/bash.json +565 -0
- package/data/defination/c.json +865 -0
- package/data/defination/cpp.json +348 -0
- package/data/defination/csharp.json +144 -0
- package/data/defination/dockerfile.json +113 -0
- package/data/defination/go.json +561 -0
- package/data/defination/html.json +559 -0
- package/data/defination/java.json +184 -0
- package/data/defination/javascript.json +265 -0
- package/data/defination/lua.json +181 -0
- package/data/defination/php.json +726 -0
- package/data/defination/python.json +717 -0
- package/data/defination/ruby.json +670 -0
- package/data/defination/rust.json +207 -0
- package/data/defination/sql.json +473 -0
- package/data/defination/toml.json +251 -0
- package/data/defination/typescript.json +29 -0
- package/data/defination/yaml.json +197 -0
- package/data/hover/bash.json +245 -0
- package/data/hover/c.json +265 -0
- package/data/hover/cpp.json +210 -0
- package/data/hover/csharp.json +290 -0
- package/data/hover/dockerfile.json +145 -0
- package/data/hover/go.json +580 -0
- package/data/hover/html.json +250 -0
- package/data/hover/java.json +395 -0
- package/data/hover/javascript.json +330 -0
- package/data/hover/lua.json +265 -0
- package/data/hover/php.json +300 -0
- package/data/hover/python.json +380 -0
- package/data/hover/ruby.json +265 -0
- package/data/hover/rust.json +275 -0
- package/data/hover/sql.json +230 -0
- package/data/hover/toml.json +145 -0
- package/data/hover/typescript.json +120 -0
- package/data/hover/yaml.json +165 -0
- package/data/manifest.json +242 -0
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "htop",
|
|
3
|
+
"description": "Interactive process viewer for Unix systems with a rich terminal UI",
|
|
4
|
+
"category": "System Monitoring",
|
|
5
|
+
"platforms": ["linux", "macos"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish"],
|
|
7
|
+
"subcommands": [],
|
|
8
|
+
"globalOptions": [
|
|
9
|
+
{ "name": "--help", "shorthand": "-h", "description": "Show help message and exit" },
|
|
10
|
+
{ "name": "--version", "shorthand": "-V", "description": "Print version information" },
|
|
11
|
+
{ "name": "--delay", "shorthand": "-d", "description": "Update interval in tenths of seconds (e.g., 10 = 1 second)", "takesValue": true },
|
|
12
|
+
{ "name": "--no-color", "shorthand": "-C", "description": "Start in monochrome mode (no colors)" },
|
|
13
|
+
{ "name": "--user", "shorthand": "-u", "description": "Show only processes of a given user", "takesValue": true },
|
|
14
|
+
{ "name": "--pid", "shorthand": "-p", "description": "Show only the given PIDs (comma-separated list)", "takesValue": true },
|
|
15
|
+
{ "name": "--sort-key", "shorthand": "-s", "description": "Sort by specified column (e.g., PERCENT_CPU, PERCENT_MEM, TIME)", "takesValue": true },
|
|
16
|
+
{ "name": "--tree", "shorthand": "-t", "description": "Show process tree view" },
|
|
17
|
+
{ "name": "--no-mouse", "description": "Disable mouse support" },
|
|
18
|
+
{ "name": "--no-unicode", "description": "Do not use Unicode drawing characters" },
|
|
19
|
+
{ "name": "--highlight-threads", "shorthand": "-H", "description": "Highlight threads with a different color" },
|
|
20
|
+
{ "name": "--filter", "shorthand": "-F", "description": "Filter processes by command name", "takesValue": true },
|
|
21
|
+
{ "name": "--readonly", "description": "Disable all system and process changing features (kill, renice, etc.)" },
|
|
22
|
+
{ "name": "--drop-capabilities", "description": "Drop unneeded Linux capabilities (when running with elevated privileges)" }
|
|
23
|
+
],
|
|
24
|
+
"examples": [
|
|
25
|
+
{ "command": "htop", "description": "Launch interactive process viewer" },
|
|
26
|
+
{ "command": "htop -u root", "description": "Show only root user processes" },
|
|
27
|
+
{ "command": "htop -p 1234", "description": "Monitor a specific process by PID" },
|
|
28
|
+
{ "command": "htop -t", "description": "Show processes in tree view" },
|
|
29
|
+
{ "command": "htop -d 10", "description": "Set update delay to 1 second" },
|
|
30
|
+
{ "command": "htop -s PERCENT_MEM", "description": "Sort processes by memory usage" },
|
|
31
|
+
{ "command": "htop -C", "description": "Start in monochrome (no color) mode" },
|
|
32
|
+
{ "command": "htop -p 1234,5678 -t", "description": "Monitor multiple PIDs in tree view" },
|
|
33
|
+
{ "command": "htop --no-mouse --no-unicode", "description": "Run without mouse and Unicode support" }
|
|
34
|
+
],
|
|
35
|
+
"relatedCommands": ["top", "btop", "ps"],
|
|
36
|
+
"contextEngine": {
|
|
37
|
+
"detectors": [
|
|
38
|
+
{
|
|
39
|
+
"name": "version",
|
|
40
|
+
"description": "htop version",
|
|
41
|
+
"command": "htop --version 2>/dev/null | head -1",
|
|
42
|
+
"parser": "lines",
|
|
43
|
+
"cacheFor": 600,
|
|
44
|
+
"requiresCmd": "htop"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "running",
|
|
48
|
+
"description": "Check if htop is currently running",
|
|
49
|
+
"command": "pgrep -x htop 2>/dev/null",
|
|
50
|
+
"parser": "lines",
|
|
51
|
+
"cacheFor": 30,
|
|
52
|
+
"requiresCmd": "htop"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jq",
|
|
3
|
+
"description": "Command-line JSON processor",
|
|
4
|
+
"category": "utilities",
|
|
5
|
+
"platforms": [
|
|
6
|
+
"linux",
|
|
7
|
+
"macos",
|
|
8
|
+
"windows"
|
|
9
|
+
],
|
|
10
|
+
"shells": [
|
|
11
|
+
"bash",
|
|
12
|
+
"zsh",
|
|
13
|
+
"fish",
|
|
14
|
+
"powershell"
|
|
15
|
+
],
|
|
16
|
+
"subcommands": [],
|
|
17
|
+
"globalOptions": [
|
|
18
|
+
{
|
|
19
|
+
"name": "--version",
|
|
20
|
+
"short": "-V",
|
|
21
|
+
"description": "Output the jq version and exit with zero."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "--stream",
|
|
25
|
+
"description": "Parse the input in streaming fashion, outputting arrays of path and leaf values."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--slurp",
|
|
29
|
+
"short": "-s",
|
|
30
|
+
"description": "Read (slurp) all inputs into an array; apply filter to it."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "--raw-input",
|
|
34
|
+
"short": "-R",
|
|
35
|
+
"description": "Don't parse the input as JSON."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "--null-input",
|
|
39
|
+
"short": "-n",
|
|
40
|
+
"description": "Don't read any input at all! Instead, the filter is run once using `null` as the input."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "--compact-output",
|
|
44
|
+
"short": "-c",
|
|
45
|
+
"description": "By default, jq pretty-prints JSON output. Using this option will result in more compact output."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "--tab",
|
|
49
|
+
"description": "Use a tab for each indentation level instead of two spaces."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "--color-output",
|
|
53
|
+
"short": "-C",
|
|
54
|
+
"description": "Output in color even if writing to a pipe or file."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "--monochrome-output",
|
|
58
|
+
"short": "-M",
|
|
59
|
+
"description": "Output without color."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "--sort-keys",
|
|
63
|
+
"short": "-S",
|
|
64
|
+
"description": "Output the fields of each object with the keys in sorted order."
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "--raw-output",
|
|
68
|
+
"short": "-r",
|
|
69
|
+
"description": "Output raw strings, not JSON texts."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "--arg",
|
|
73
|
+
"description": "This option passes a value to the jq program as a predefined variable.",
|
|
74
|
+
"type": "string"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"examples": [
|
|
78
|
+
"cat data.json | jq '.'",
|
|
79
|
+
"jq -r '.name' package.json",
|
|
80
|
+
"curl -s api.github.com/repos/stedolan/jq/commits | jq '.[0].commit.message'",
|
|
81
|
+
"jq -c '.[]' array.json",
|
|
82
|
+
"jq -s '.' file1.json file2.json"
|
|
83
|
+
],
|
|
84
|
+
"relatedCommands": [
|
|
85
|
+
"yq",
|
|
86
|
+
"cat",
|
|
87
|
+
"curl"
|
|
88
|
+
],
|
|
89
|
+
"contextEngine": {
|
|
90
|
+
"detectors": [
|
|
91
|
+
{
|
|
92
|
+
"name": "json_files",
|
|
93
|
+
"description": "JSON files available",
|
|
94
|
+
"command": "ls *.json 2>/dev/null",
|
|
95
|
+
"parser": "lines",
|
|
96
|
+
"cacheFor": 30
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "k9s",
|
|
3
|
+
"description": "Kubernetes CLI To Manage Your Clusters In Style",
|
|
4
|
+
"category": "Containers / Kubernetes",
|
|
5
|
+
"platforms": [
|
|
6
|
+
"linux",
|
|
7
|
+
"macos",
|
|
8
|
+
"windows"
|
|
9
|
+
],
|
|
10
|
+
"shells": [
|
|
11
|
+
"bash",
|
|
12
|
+
"zsh",
|
|
13
|
+
"powershell"
|
|
14
|
+
],
|
|
15
|
+
"subcommands": [
|
|
16
|
+
{
|
|
17
|
+
"name": "info",
|
|
18
|
+
"description": "Print configuration info"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "version",
|
|
22
|
+
"description": "Print version info"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"globalOptions": [
|
|
26
|
+
{
|
|
27
|
+
"name": "-n",
|
|
28
|
+
"description": "Namespace",
|
|
29
|
+
"takesValue": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "-c",
|
|
33
|
+
"description": "Context",
|
|
34
|
+
"takesValue": true
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"examples": [
|
|
38
|
+
{
|
|
39
|
+
"command": "k9s",
|
|
40
|
+
"description": "Start K9s dashboard"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"command": "k9s -n default",
|
|
44
|
+
"description": "Start K9s in default namespace"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"relatedCommands": [
|
|
48
|
+
"kubectl",
|
|
49
|
+
"helm"
|
|
50
|
+
],
|
|
51
|
+
"contextEngine": {
|
|
52
|
+
"detectors": [
|
|
53
|
+
{
|
|
54
|
+
"name": "clusters",
|
|
55
|
+
"description": "Available Clusters",
|
|
56
|
+
"command": "kubectl config get-contexts -o name 2>/dev/null",
|
|
57
|
+
"parser": "lines",
|
|
58
|
+
"cacheFor": 300
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
}
|