@enjoys/context-engine 1.0.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.
- package/README.md +213 -0
- package/data/commands/air.json +59 -0
- package/data/commands/ansible.json +24 -0
- package/data/commands/apachectl.json +87 -0
- package/data/commands/apt-get.json +81 -0
- package/data/commands/apt.json +91 -0
- package/data/commands/awk.json +26 -0
- package/data/commands/aws-vault.json +140 -0
- package/data/commands/aws.json +229 -0
- package/data/commands/az.json +36 -0
- package/data/commands/bazel.json +103 -0
- package/data/commands/brew.json +140 -0
- package/data/commands/bun.json +230 -0
- package/data/commands/caddy.json +194 -0
- package/data/commands/cargo.json +1048 -0
- package/data/commands/cat.json +18 -0
- package/data/commands/cd.json +48 -0
- package/data/commands/certbot.json +148 -0
- package/data/commands/chmod.json +97 -0
- package/data/commands/choco.json +134 -0
- package/data/commands/chown.json +59 -0
- package/data/commands/clickhouse-client.json +74 -0
- package/data/commands/cloudflare.json +226 -0
- package/data/commands/cmake.json +110 -0
- package/data/commands/cockroach.json +92 -0
- package/data/commands/conda.json +94 -0
- package/data/commands/consul.json +125 -0
- package/data/commands/cp.json +86 -0
- package/data/commands/curl.json +44 -0
- package/data/commands/cypress.json +100 -0
- package/data/commands/deno.json +29 -0
- package/data/commands/django-admin.json +86 -0
- package/data/commands/dnf.json +137 -0
- package/data/commands/docker.json +1100 -0
- package/data/commands/doctl.json +156 -0
- package/data/commands/eslint.json +69 -0
- package/data/commands/find.json +44 -0
- package/data/commands/firebase.json +97 -0
- package/data/commands/flask.json +79 -0
- package/data/commands/flyctl.json +148 -0
- package/data/commands/gcloud.json +227 -0
- package/data/commands/gh.json +39 -0
- package/data/commands/git.json +527 -0
- package/data/commands/glab.json +116 -0
- package/data/commands/go.json +161 -0
- package/data/commands/gofmt.json +51 -0
- package/data/commands/golangci-lint.json +89 -0
- package/data/commands/gradle.json +44 -0
- package/data/commands/grep.json +47 -0
- package/data/commands/gunicorn.json +83 -0
- package/data/commands/helm.json +1104 -0
- package/data/commands/hg.json +92 -0
- package/data/commands/httpd.json +147 -0
- package/data/commands/influx.json +119 -0
- package/data/commands/iptables.json +86 -0
- package/data/commands/java.json +31 -0
- package/data/commands/jest.json +82 -0
- package/data/commands/journalctl.json +88 -0
- package/data/commands/just.json +93 -0
- package/data/commands/k6.json +84 -0
- package/data/commands/kubectl.json +1277 -0
- package/data/commands/linode-cli.json +117 -0
- package/data/commands/locust.json +83 -0
- package/data/commands/ls.json +115 -0
- package/data/commands/make.json +86 -0
- package/data/commands/mocha.json +75 -0
- package/data/commands/mongosh.json +73 -0
- package/data/commands/mv.json +68 -0
- package/data/commands/mvn.json +45 -0
- package/data/commands/mysql.json +81 -0
- package/data/commands/nest.json +69 -0
- package/data/commands/netlify.json +92 -0
- package/data/commands/next.json +71 -0
- package/data/commands/nft.json +105 -0
- package/data/commands/nginx.json +146 -0
- package/data/commands/nmap.json +92 -0
- package/data/commands/node.json +43 -0
- package/data/commands/nomad.json +139 -0
- package/data/commands/npm.json +1265 -0
- package/data/commands/npx.json +58 -0
- package/data/commands/nx.json +82 -0
- package/data/commands/openssl.json +288 -0
- package/data/commands/packer.json +92 -0
- package/data/commands/pacman.json +82 -0
- package/data/commands/pg_dump.json +83 -0
- package/data/commands/pg_restore.json +74 -0
- package/data/commands/pip.json +95 -0
- package/data/commands/pipenv.json +79 -0
- package/data/commands/pipx.json +53 -0
- package/data/commands/playwright.json +97 -0
- package/data/commands/pnpm.json +29 -0
- package/data/commands/poetry.json +96 -0
- package/data/commands/prettier.json +71 -0
- package/data/commands/ps.json +31 -0
- package/data/commands/psql.json +124 -0
- package/data/commands/pulumi.json +130 -0
- package/data/commands/pytest.json +92 -0
- package/data/commands/python.json +30 -0
- package/data/commands/railway.json +91 -0
- package/data/commands/redis-cli.json +148 -0
- package/data/commands/render.json +72 -0
- package/data/commands/rm.json +79 -0
- package/data/commands/rsync.json +36 -0
- package/data/commands/rust.json +35 -0
- package/data/commands/rustup.json +103 -0
- package/data/commands/scp.json +60 -0
- package/data/commands/sed.json +28 -0
- package/data/commands/sqlite3.json +68 -0
- package/data/commands/ssh-keygen.json +112 -0
- package/data/commands/ssh.json +37 -0
- package/data/commands/sudo.json +147 -0
- package/data/commands/supabase.json +108 -0
- package/data/commands/svn.json +75 -0
- package/data/commands/systemctl.json +31 -0
- package/data/commands/tar.json +35 -0
- package/data/commands/tcpdump.json +77 -0
- package/data/commands/terraform.json +824 -0
- package/data/commands/terragrunt.json +83 -0
- package/data/commands/tsc.json +85 -0
- package/data/commands/turbo.json +72 -0
- package/data/commands/ufw.json +76 -0
- package/data/commands/unzip.json +59 -0
- package/data/commands/uvicorn.json +73 -0
- package/data/commands/vault.json +144 -0
- package/data/commands/vercel.json +98 -0
- package/data/commands/vite.json +63 -0
- package/data/commands/vitest.json +88 -0
- package/data/commands/wasm-pack.json +90 -0
- package/data/commands/wget.json +38 -0
- package/data/commands/winget.json +131 -0
- package/data/commands/wireshark.json +81 -0
- package/data/commands/yarn.json +28 -0
- package/data/commands/yum.json +98 -0
- package/data/commands/zip.json +59 -0
- package/index.d.ts +131 -0
- package/index.js +189 -0
- package/index.mjs +21 -0
- package/package.json +64 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "consul",
|
|
3
|
+
"description": "HashiCorp Consul - service mesh, service discovery, and configuration",
|
|
4
|
+
"category": "DevOps/Infra",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "powershell", "fish"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "agent", "description": "Run a Consul agent", "options": [
|
|
9
|
+
{ "name": "-dev", "description": "Development mode" },
|
|
10
|
+
{ "name": "-server", "description": "Server mode" },
|
|
11
|
+
{ "name": "-client", "description": "Client mode" },
|
|
12
|
+
{ "name": "-config-file", "description": "Config file", "takesValue": true },
|
|
13
|
+
{ "name": "-config-dir", "description": "Config directory", "takesValue": true },
|
|
14
|
+
{ "name": "-data-dir", "description": "Data directory", "takesValue": true },
|
|
15
|
+
{ "name": "-bind", "description": "Bind address", "takesValue": true },
|
|
16
|
+
{ "name": "-bootstrap-expect", "description": "Expected servers for bootstrap", "takesValue": true },
|
|
17
|
+
{ "name": "-datacenter", "shorthand": "-dc", "description": "Datacenter name", "takesValue": true },
|
|
18
|
+
{ "name": "-node", "description": "Node name", "takesValue": true },
|
|
19
|
+
{ "name": "-join", "description": "Join cluster address", "takesValue": true },
|
|
20
|
+
{ "name": "-ui", "description": "Enable web UI" }
|
|
21
|
+
]},
|
|
22
|
+
{ "name": "members", "description": "List cluster members" },
|
|
23
|
+
{ "name": "catalog", "description": "Catalog operations", "subcommands": [
|
|
24
|
+
{ "name": "services", "description": "List services" },
|
|
25
|
+
{ "name": "nodes", "description": "List nodes" },
|
|
26
|
+
{ "name": "datacenters", "description": "List datacenters" }
|
|
27
|
+
]},
|
|
28
|
+
{ "name": "kv", "description": "KV store operations", "subcommands": [
|
|
29
|
+
{ "name": "put", "description": "Set KV pair", "args": [{ "name": "key", "description": "Key", "required": true }, { "name": "value", "description": "Value", "required": false }] },
|
|
30
|
+
{ "name": "get", "description": "Get KV pair", "args": [{ "name": "key", "description": "Key", "required": true }] },
|
|
31
|
+
{ "name": "delete", "description": "Delete KV pair" },
|
|
32
|
+
{ "name": "export", "description": "Export KV tree" },
|
|
33
|
+
{ "name": "import", "description": "Import KV tree" }
|
|
34
|
+
]},
|
|
35
|
+
{ "name": "services", "description": "Service management", "subcommands": [
|
|
36
|
+
{ "name": "register", "description": "Register a service" },
|
|
37
|
+
{ "name": "deregister", "description": "Deregister a service" }
|
|
38
|
+
]},
|
|
39
|
+
{ "name": "connect", "description": "Service mesh (Connect)", "subcommands": [
|
|
40
|
+
{ "name": "proxy", "description": "Run connect proxy" },
|
|
41
|
+
{ "name": "envoy", "description": "Run Envoy proxy" },
|
|
42
|
+
{ "name": "ca", "description": "CA management" }
|
|
43
|
+
]},
|
|
44
|
+
{ "name": "intention", "description": "Service intentions", "subcommands": [
|
|
45
|
+
{ "name": "create", "description": "Create intention" },
|
|
46
|
+
{ "name": "delete", "description": "Delete intention" },
|
|
47
|
+
{ "name": "list", "description": "List intentions" },
|
|
48
|
+
{ "name": "check", "description": "Check intention" },
|
|
49
|
+
{ "name": "match", "description": "Match intentions" }
|
|
50
|
+
]},
|
|
51
|
+
{ "name": "snapshot", "description": "Snapshot operations", "subcommands": [
|
|
52
|
+
{ "name": "save", "description": "Save snapshot" },
|
|
53
|
+
{ "name": "restore", "description": "Restore snapshot" },
|
|
54
|
+
{ "name": "inspect", "description": "Inspect snapshot" }
|
|
55
|
+
]},
|
|
56
|
+
{ "name": "acl", "description": "ACL management", "subcommands": [
|
|
57
|
+
{ "name": "bootstrap", "description": "Bootstrap ACLs" },
|
|
58
|
+
{ "name": "token", "description": "Token management" },
|
|
59
|
+
{ "name": "policy", "description": "Policy management" },
|
|
60
|
+
{ "name": "role", "description": "Role management" }
|
|
61
|
+
]},
|
|
62
|
+
{ "name": "operator", "description": "Cluster operations", "subcommands": [
|
|
63
|
+
{ "name": "raft", "description": "Raft operations" },
|
|
64
|
+
{ "name": "autopilot", "description": "Autopilot settings" }
|
|
65
|
+
]},
|
|
66
|
+
{ "name": "monitor", "description": "Stream logs from Consul agent" },
|
|
67
|
+
{ "name": "reload", "description": "Reload agent configuration" },
|
|
68
|
+
{ "name": "leave", "description": "Gracefully leave cluster" },
|
|
69
|
+
{ "name": "info", "description": "Show agent debug info" },
|
|
70
|
+
{ "name": "version", "description": "Show version" }
|
|
71
|
+
],
|
|
72
|
+
"globalOptions": [
|
|
73
|
+
{ "name": "-http-addr", "description": "Consul HTTP address", "takesValue": true },
|
|
74
|
+
{ "name": "-token", "description": "ACL token", "takesValue": true },
|
|
75
|
+
{ "name": "-datacenter", "description": "Datacenter", "takesValue": true },
|
|
76
|
+
{ "name": "-stale", "description": "Allow stale reads" },
|
|
77
|
+
{ "name": "--help", "shorthand": "-h", "description": "Show help" }
|
|
78
|
+
],
|
|
79
|
+
"examples": [
|
|
80
|
+
{ "command": "consul agent -dev", "description": "Start dev agent" },
|
|
81
|
+
{ "command": "consul members", "description": "List members" },
|
|
82
|
+
{ "command": "consul catalog services", "description": "List services" },
|
|
83
|
+
{ "command": "consul kv put config/db/host 10.0.0.1", "description": "Set KV value" },
|
|
84
|
+
{ "command": "consul kv get config/db/host", "description": "Get KV value" },
|
|
85
|
+
{ "command": "consul snapshot save backup.snap", "description": "Save snapshot" },
|
|
86
|
+
{ "command": "consul intention create web api", "description": "Allow web->api" }
|
|
87
|
+
],
|
|
88
|
+
"relatedCommands": ["vault", "nomad", "terraform"],
|
|
89
|
+
"contextEngine": {
|
|
90
|
+
"detectors": [
|
|
91
|
+
{
|
|
92
|
+
"name": "members",
|
|
93
|
+
"description": "Cluster members",
|
|
94
|
+
"command": "consul members 2>/dev/null",
|
|
95
|
+
"parser": "table",
|
|
96
|
+
"cacheFor": 15,
|
|
97
|
+
"requiresCmd": "consul"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "services",
|
|
101
|
+
"description": "Registered services",
|
|
102
|
+
"command": "consul catalog services 2>/dev/null",
|
|
103
|
+
"parser": "lines",
|
|
104
|
+
"cacheFor": 15,
|
|
105
|
+
"requiresCmd": "consul"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "datacenters",
|
|
109
|
+
"description": "Available datacenters",
|
|
110
|
+
"command": "consul catalog datacenters 2>/dev/null",
|
|
111
|
+
"parser": "lines",
|
|
112
|
+
"cacheFor": 60,
|
|
113
|
+
"requiresCmd": "consul"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "kv_tree",
|
|
117
|
+
"description": "KV store keys",
|
|
118
|
+
"command": "consul kv export 2>/dev/null | head -30",
|
|
119
|
+
"parser": "json",
|
|
120
|
+
"cacheFor": 30,
|
|
121
|
+
"requiresCmd": "consul"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cp",
|
|
3
|
+
"description": "Copy files and directories",
|
|
4
|
+
"category": "coreutils",
|
|
5
|
+
"platforms": ["linux", "macos"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish"],
|
|
7
|
+
"subcommands": [],
|
|
8
|
+
"globalOptions": [
|
|
9
|
+
{ "name": "-r", "description": "Copy directories recursively" },
|
|
10
|
+
{ "name": "-R", "description": "Copy directories recursively (same as -r)" },
|
|
11
|
+
{ "name": "-a", "description": "Archive mode (preserve all attributes, -dR --preserve=all)" },
|
|
12
|
+
{ "name": "-i", "description": "Prompt before overwrite" },
|
|
13
|
+
{ "name": "-n", "description": "Do not overwrite existing files" },
|
|
14
|
+
{ "name": "-f", "description": "Force overwrite (remove destination if needed)" },
|
|
15
|
+
{ "name": "-u", "description": "Copy only when source is newer than destination" },
|
|
16
|
+
{ "name": "-v", "description": "Verbose — explain what is being done" },
|
|
17
|
+
{ "name": "-p", "description": "Preserve modification times, access times, mode" },
|
|
18
|
+
{ "name": "--preserve", "description": "Preserve attributes (mode, ownership, timestamps, context, links, xattr, all)", "type": "string" },
|
|
19
|
+
{ "name": "-l", "description": "Hard link files instead of copying" },
|
|
20
|
+
{ "name": "-s", "description": "Create symlinks instead of copying" },
|
|
21
|
+
{ "name": "--backup", "description": "Make a backup of each existing destination", "type": "string" },
|
|
22
|
+
{ "name": "-b", "description": "Make backup (simple)" },
|
|
23
|
+
{ "name": "--suffix", "short": "-S", "description": "Override backup suffix", "type": "string" },
|
|
24
|
+
{ "name": "-t", "description": "Copy all source arguments into target directory", "type": "directory" },
|
|
25
|
+
{ "name": "-T", "description": "Treat destination as a normal file" },
|
|
26
|
+
{ "name": "--sparse", "description": "Control creation of sparse files (auto, always, never)", "type": "string" },
|
|
27
|
+
{ "name": "--reflink", "description": "Control clone/CoW copies (auto, always, never)", "type": "string" }
|
|
28
|
+
],
|
|
29
|
+
"examples": [
|
|
30
|
+
"cp file.txt backup.txt",
|
|
31
|
+
"cp -r src/ dest/",
|
|
32
|
+
"cp -a /home/user /backup/",
|
|
33
|
+
"cp -iv file.txt /dest/",
|
|
34
|
+
"cp -u *.txt /dest/",
|
|
35
|
+
"cp -rp project/ project-backup/",
|
|
36
|
+
"cp -l file.txt hardlink.txt",
|
|
37
|
+
"cp -s file.txt symlink.txt",
|
|
38
|
+
"cp --backup=numbered file.txt dest/",
|
|
39
|
+
"cp -t /dest/ file1.txt file2.txt file3.txt"
|
|
40
|
+
],
|
|
41
|
+
"relatedCommands": ["mv", "rm", "rsync", "ln", "install", "ls"],
|
|
42
|
+
"contextEngine": {
|
|
43
|
+
"detectors": [
|
|
44
|
+
{
|
|
45
|
+
"name": "cwd_contents",
|
|
46
|
+
"description": "Files and directories in the current working directory",
|
|
47
|
+
"command": "ls -1A 2>/dev/null | head -50",
|
|
48
|
+
"parser": "lines",
|
|
49
|
+
"cacheFor": 3,
|
|
50
|
+
"requiresCmd": "ls"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "cwd_path",
|
|
54
|
+
"description": "Current working directory path",
|
|
55
|
+
"command": "pwd",
|
|
56
|
+
"parser": "text",
|
|
57
|
+
"cacheFor": 3,
|
|
58
|
+
"requiresCmd": "cp"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "disk_usage",
|
|
62
|
+
"description": "Available disk space",
|
|
63
|
+
"command": "df -h . 2>/dev/null | tail -1",
|
|
64
|
+
"parser": "text",
|
|
65
|
+
"cacheFor": 60,
|
|
66
|
+
"requiresCmd": "cp"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "recent_files",
|
|
70
|
+
"description": "Recently modified files",
|
|
71
|
+
"command": "ls -1t 2>/dev/null | head -15",
|
|
72
|
+
"parser": "lines",
|
|
73
|
+
"cacheFor": 5,
|
|
74
|
+
"requiresCmd": "ls"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "directories",
|
|
78
|
+
"description": "Subdirectories in current working directory",
|
|
79
|
+
"command": "ls -d */ 2>/dev/null",
|
|
80
|
+
"parser": "lines",
|
|
81
|
+
"cacheFor": 5,
|
|
82
|
+
"requiresCmd": "ls"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "curl",
|
|
3
|
+
"description": "Transfer data from or to a server using various protocols",
|
|
4
|
+
"category": "networking",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish", "powershell"],
|
|
7
|
+
"subcommands": [],
|
|
8
|
+
"globalOptions": [
|
|
9
|
+
{ "name": "--request", "short": "-X", "description": "HTTP method (GET, POST, PUT, DELETE, PATCH)", "type": "string" },
|
|
10
|
+
{ "name": "--header", "short": "-H", "description": "Pass custom header", "type": "string" },
|
|
11
|
+
{ "name": "--data", "short": "-d", "description": "HTTP POST data", "type": "string" },
|
|
12
|
+
{ "name": "--data-raw", "description": "HTTP POST data (no special interpretation)", "type": "string" },
|
|
13
|
+
{ "name": "--form", "short": "-F", "description": "Multipart form data", "type": "string" },
|
|
14
|
+
{ "name": "--output", "short": "-o", "description": "Write output to file", "type": "file" },
|
|
15
|
+
{ "name": "--silent", "short": "-s", "description": "Silent mode" },
|
|
16
|
+
{ "name": "--show-error", "short": "-S", "description": "Show error even in silent mode" },
|
|
17
|
+
{ "name": "--location", "short": "-L", "description": "Follow redirects" },
|
|
18
|
+
{ "name": "--insecure", "short": "-k", "description": "Skip SSL verification" },
|
|
19
|
+
{ "name": "--verbose", "short": "-v", "description": "Verbose output" },
|
|
20
|
+
{ "name": "--user", "short": "-u", "description": "User:password for authentication", "type": "string" },
|
|
21
|
+
{ "name": "--cookie", "short": "-b", "description": "Send cookies", "type": "string" },
|
|
22
|
+
{ "name": "--cookie-jar", "short": "-c", "description": "Write cookies to file", "type": "file" },
|
|
23
|
+
{ "name": "--max-time", "short": "-m", "description": "Maximum time in seconds", "type": "number" },
|
|
24
|
+
{ "name": "--connect-timeout", "description": "Connection timeout in seconds", "type": "number" },
|
|
25
|
+
{ "name": "--retry", "description": "Number of retries", "type": "number" },
|
|
26
|
+
{ "name": "--upload-file", "short": "-T", "description": "Upload a file", "type": "file" },
|
|
27
|
+
{ "name": "--compressed", "description": "Request compressed response" },
|
|
28
|
+
{ "name": "--write-out", "short": "-w", "description": "Define output format", "type": "string" },
|
|
29
|
+
{ "name": "--head", "short": "-I", "description": "Show headers only" },
|
|
30
|
+
{ "name": "--proxy", "short": "-x", "description": "Use proxy", "type": "url" },
|
|
31
|
+
{ "name": "--cert", "short": "-E", "description": "Client certificate file", "type": "file" },
|
|
32
|
+
{ "name": "--cacert", "description": "CA certificate", "type": "file" }
|
|
33
|
+
],
|
|
34
|
+
"examples": [
|
|
35
|
+
"curl https://api.example.com/data",
|
|
36
|
+
"curl -X POST -H 'Content-Type: application/json' -d '{\"key\":\"value\"}' https://api.example.com/resource",
|
|
37
|
+
"curl -sS -o output.html https://example.com",
|
|
38
|
+
"curl -L -O https://example.com/file.tar.gz",
|
|
39
|
+
"curl -u user:pass https://api.example.com/private",
|
|
40
|
+
"curl -I https://example.com",
|
|
41
|
+
"curl -F 'file=@photo.jpg' https://api.example.com/upload"
|
|
42
|
+
],
|
|
43
|
+
"relatedCommands": ["wget", "httpie", "http"]
|
|
44
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cypress",
|
|
3
|
+
"description": "End-to-end testing framework for web applications",
|
|
4
|
+
"category": "Testing Tools",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "powershell", "fish"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "open", "description": "Open Cypress Test Runner UI", "options": [
|
|
9
|
+
{ "name": "--project", "shorthand": "-P", "description": "Project directory", "takesValue": true },
|
|
10
|
+
{ "name": "--config", "shorthand": "-C", "description": "Config file", "takesValue": true },
|
|
11
|
+
{ "name": "--config-file", "description": "Config file path", "takesValue": true },
|
|
12
|
+
{ "name": "--env", "shorthand": "-e", "description": "Set environment variables", "takesValue": true },
|
|
13
|
+
{ "name": "--browser", "shorthand": "-b", "description": "Browser (chrome, chromium, edge, electron, firefox)", "takesValue": true },
|
|
14
|
+
{ "name": "--component", "description": "Open component testing" },
|
|
15
|
+
{ "name": "--e2e", "description": "Open E2E testing" },
|
|
16
|
+
{ "name": "--global", "description": "Open in global mode" },
|
|
17
|
+
{ "name": "--port", "shorthand": "-p", "description": "Override default port", "takesValue": true }
|
|
18
|
+
]},
|
|
19
|
+
{ "name": "run", "description": "Run tests headlessly", "options": [
|
|
20
|
+
{ "name": "--spec", "shorthand": "-s", "description": "Spec files to run", "takesValue": true },
|
|
21
|
+
{ "name": "--browser", "shorthand": "-b", "description": "Browser to use", "takesValue": true },
|
|
22
|
+
{ "name": "--headed", "description": "Run in headed mode" },
|
|
23
|
+
{ "name": "--no-exit", "description": "Keep runner open after finish" },
|
|
24
|
+
{ "name": "--parallel", "description": "Run in parallel (Cypress Cloud)" },
|
|
25
|
+
{ "name": "--record", "description": "Record run to Cypress Cloud" },
|
|
26
|
+
{ "name": "--key", "shorthand": "-k", "description": "Record key", "takesValue": true },
|
|
27
|
+
{ "name": "--group", "description": "Group parallel runs", "takesValue": true },
|
|
28
|
+
{ "name": "--tag", "description": "Tag for recording", "takesValue": true },
|
|
29
|
+
{ "name": "--reporter", "shorthand": "-r", "description": "Test reporter", "takesValue": true },
|
|
30
|
+
{ "name": "--reporter-options", "shorthand": "-o", "description": "Reporter options", "takesValue": true },
|
|
31
|
+
{ "name": "--config", "shorthand": "-C", "description": "Config overrides", "takesValue": true },
|
|
32
|
+
{ "name": "--config-file", "description": "Config file", "takesValue": true },
|
|
33
|
+
{ "name": "--env", "shorthand": "-e", "description": "Environment variables", "takesValue": true },
|
|
34
|
+
{ "name": "--project", "shorthand": "-P", "description": "Project directory", "takesValue": true },
|
|
35
|
+
{ "name": "--component", "description": "Run component tests" },
|
|
36
|
+
{ "name": "--e2e", "description": "Run E2E tests" },
|
|
37
|
+
{ "name": "--quiet", "shorthand": "-q", "description": "Quiet output" }
|
|
38
|
+
]},
|
|
39
|
+
{ "name": "install", "description": "Install Cypress binary", "options": [
|
|
40
|
+
{ "name": "--force", "description": "Force reinstall" }
|
|
41
|
+
]},
|
|
42
|
+
{ "name": "verify", "description": "Verify Cypress installation" },
|
|
43
|
+
{ "name": "cache", "description": "Cache management", "subcommands": [
|
|
44
|
+
{ "name": "path", "description": "Print cache path" },
|
|
45
|
+
{ "name": "list", "description": "List cached versions" },
|
|
46
|
+
{ "name": "clear", "description": "Clear cache" },
|
|
47
|
+
{ "name": "prune", "description": "Remove old cached versions" }
|
|
48
|
+
]},
|
|
49
|
+
{ "name": "info", "description": "Show system and Cypress info" },
|
|
50
|
+
{ "name": "version", "description": "Show version" }
|
|
51
|
+
],
|
|
52
|
+
"globalOptions": [
|
|
53
|
+
{ "name": "--help", "shorthand": "-h", "description": "Show help" },
|
|
54
|
+
{ "name": "--version", "shorthand": "-v", "description": "Show version" }
|
|
55
|
+
],
|
|
56
|
+
"examples": [
|
|
57
|
+
{ "command": "npx cypress open", "description": "Open test runner" },
|
|
58
|
+
{ "command": "npx cypress run", "description": "Run all tests headlessly" },
|
|
59
|
+
{ "command": "npx cypress run --spec 'cypress/e2e/login.cy.js'", "description": "Run specific spec" },
|
|
60
|
+
{ "command": "npx cypress run --browser chrome", "description": "Run in Chrome" },
|
|
61
|
+
{ "command": "npx cypress run --headed", "description": "Headed mode" },
|
|
62
|
+
{ "command": "npx cypress run --record --key $KEY", "description": "Record to Cloud" },
|
|
63
|
+
{ "command": "npx cypress run --component", "description": "Component tests" },
|
|
64
|
+
{ "command": "npx cypress open --e2e --browser firefox", "description": "E2E in Firefox" }
|
|
65
|
+
],
|
|
66
|
+
"relatedCommands": ["playwright", "jest"],
|
|
67
|
+
"contextEngine": {
|
|
68
|
+
"detectors": [
|
|
69
|
+
{
|
|
70
|
+
"name": "config",
|
|
71
|
+
"description": "Cypress configuration",
|
|
72
|
+
"command": "cat cypress.config.ts 2>/dev/null || cat cypress.config.js 2>/dev/null || cat cypress.json 2>/dev/null | head -30",
|
|
73
|
+
"parser": "text",
|
|
74
|
+
"cacheFor": 60
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "spec_files",
|
|
78
|
+
"description": "Test spec files",
|
|
79
|
+
"command": "find cypress -name '*.cy.*' -o -name '*.spec.*' 2>/dev/null | head -20",
|
|
80
|
+
"parser": "lines",
|
|
81
|
+
"cacheFor": 30
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "cypress_info",
|
|
85
|
+
"description": "Cypress system info",
|
|
86
|
+
"command": "npx cypress info 2>/dev/null | head -15",
|
|
87
|
+
"parser": "text",
|
|
88
|
+
"cacheFor": 120,
|
|
89
|
+
"requiresCmd": "npx"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "support_files",
|
|
93
|
+
"description": "Support and fixture files",
|
|
94
|
+
"command": "ls cypress/support/ cypress/fixtures/ 2>/dev/null | head -15",
|
|
95
|
+
"parser": "lines",
|
|
96
|
+
"cacheFor": 30
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "deno",
|
|
3
|
+
"description": "Secure runtime for JavaScript and TypeScript",
|
|
4
|
+
"category": "runtime",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish", "powershell"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "run", "description": "Run a script", "args": [{ "name": "<script>", "type": "file", "required": true, "description": "Script file or URL" }], "options": [{ "name": "--allow-read", "description": "Allow file system read access" }, { "name": "--allow-write", "description": "Allow file system write access" }, { "name": "--allow-net", "description": "Allow network access" }, { "name": "--allow-env", "description": "Allow environment access" }, { "name": "--allow-run", "description": "Allow running subprocesses" }, { "name": "--allow-all", "short": "-A", "description": "Allow all permissions" }, { "name": "--watch", "description": "Watch for file changes" }], "examples": ["deno run main.ts", "deno run -A server.ts", "deno run --allow-net --allow-read main.ts", "deno run --watch main.ts"] },
|
|
9
|
+
{ "name": "compile", "description": "Compile script into executable", "args": [{ "name": "<script>", "type": "file", "required": true, "description": "Script file" }], "options": [{ "name": "--output", "short": "-o", "description": "Output binary name", "type": "file" }, { "name": "--target", "description": "Target platform", "type": "string" }], "examples": ["deno compile -o myapp main.ts"] },
|
|
10
|
+
{ "name": "test", "description": "Run tests", "options": [{ "name": "--filter", "description": "Filter tests", "type": "string" }, { "name": "--coverage", "description": "Enable coverage", "type": "directory" }], "examples": ["deno test", "deno test --filter 'my test'"] },
|
|
11
|
+
{ "name": "fmt", "description": "Format source files", "options": [{ "name": "--check", "description": "Check formatting only" }], "examples": ["deno fmt", "deno fmt --check"] },
|
|
12
|
+
{ "name": "lint", "description": "Lint source files", "examples": ["deno lint"] },
|
|
13
|
+
{ "name": "task", "description": "Run a task defined in deno.json", "args": [{ "name": "<task>", "type": "string", "required": true, "description": "Task name" }], "examples": ["deno task dev", "deno task build"] },
|
|
14
|
+
{ "name": "init", "description": "Initialize a new project", "examples": ["deno init", "deno init my_project"] },
|
|
15
|
+
{ "name": "install", "description": "Install script as CLI command", "args": [{ "name": "<script>", "type": "string", "required": true, "description": "Script URL" }], "options": [{ "name": "--name", "short": "-n", "description": "Command name", "type": "string" }], "examples": ["deno install -A -n myapp https://deno.land/x/app/cli.ts"] },
|
|
16
|
+
{ "name": "bench", "description": "Run benchmarks", "examples": ["deno bench"] },
|
|
17
|
+
{ "name": "check", "description": "Type-check without running", "examples": ["deno check main.ts"] },
|
|
18
|
+
{ "name": "info", "description": "Show information about a module", "args": [{ "name": "<module>", "type": "string", "required": false, "description": "Module URL" }], "examples": ["deno info", "deno info main.ts"] },
|
|
19
|
+
{ "name": "cache", "description": "Cache and compile remote dependencies", "args": [{ "name": "<files>", "type": "file", "required": true, "description": "Files to cache" }], "examples": ["deno cache deps.ts"] }
|
|
20
|
+
],
|
|
21
|
+
"globalOptions": [
|
|
22
|
+
{ "name": "--help", "short": "-h", "description": "Show help" },
|
|
23
|
+
{ "name": "--version", "short": "-V", "description": "Print version" },
|
|
24
|
+
{ "name": "--unstable", "description": "Enable unstable APIs" },
|
|
25
|
+
{ "name": "--config", "short": "-c", "description": "Config file", "type": "file" }
|
|
26
|
+
],
|
|
27
|
+
"examples": ["deno run -A server.ts", "deno test", "deno fmt && deno lint", "deno compile -o app main.ts"],
|
|
28
|
+
"relatedCommands": ["node", "bun", "npm", "tsx"]
|
|
29
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "django-admin",
|
|
3
|
+
"description": "Django's command-line utility for administrative tasks",
|
|
4
|
+
"category": "Python Ecosystem",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "powershell", "fish"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "startproject", "description": "Create a new Django project", "args": [{ "name": "name", "description": "Project name", "required": true }, { "name": "directory", "description": "Target directory", "required": false }], "options": [{ "name": "--template", "description": "Project template", "takesValue": true }] },
|
|
9
|
+
{ "name": "startapp", "description": "Create a new Django app", "args": [{ "name": "name", "description": "App name", "required": true }, { "name": "directory", "description": "Target directory", "required": false }] },
|
|
10
|
+
{ "name": "runserver", "description": "Start development server", "args": [{ "name": "addrport", "description": "Address:port (default 127.0.0.1:8000)", "required": false }], "options": [{ "name": "--noreload", "description": "Disable auto-reload" }, { "name": "--nothreading", "description": "Disable threading" }] },
|
|
11
|
+
{ "name": "migrate", "description": "Run database migrations", "args": [{ "name": "app_label", "description": "App to migrate", "required": false }, { "name": "migration_name", "description": "Target migration", "required": false }], "options": [{ "name": "--fake", "description": "Mark migrations as applied" }, { "name": "--fake-initial", "description": "Fake if tables exist" }, { "name": "--plan", "description": "Show migration plan" }, { "name": "--run-syncdb", "description": "Create tables for unmanaged apps" }, { "name": "--database", "description": "Database alias", "takesValue": true }] },
|
|
12
|
+
{ "name": "makemigrations", "description": "Create new migrations", "args": [{ "name": "app_label", "description": "App to make migrations for", "required": false }], "options": [{ "name": "--empty", "description": "Create empty migration" }, { "name": "--dry-run", "description": "Preview without writing" }, { "name": "--merge", "description": "Merge conflicting migrations" }, { "name": "--name", "shorthand": "-n", "description": "Migration name", "takesValue": true }, { "name": "--check", "description": "Exit with error if changes detected" }] },
|
|
13
|
+
{ "name": "showmigrations", "description": "Show all migrations", "args": [{ "name": "app_label", "description": "App to show", "required": false }], "options": [{ "name": "--list", "shorthand": "-l", "description": "List format" }, { "name": "--plan", "shorthand": "-p", "description": "Plan format" }] },
|
|
14
|
+
{ "name": "createsuperuser", "description": "Create a superuser", "options": [{ "name": "--username", "description": "Username", "takesValue": true }, { "name": "--email", "description": "Email", "takesValue": true }, { "name": "--noinput", "description": "Non-interactive mode" }] },
|
|
15
|
+
{ "name": "shell", "description": "Open Django shell", "options": [{ "name": "--interface", "shorthand": "-i", "description": "Interface (ipython, bpython, python)", "takesValue": true }] },
|
|
16
|
+
{ "name": "dbshell", "description": "Open database shell", "options": [{ "name": "--database", "description": "Database alias", "takesValue": true }] },
|
|
17
|
+
{ "name": "collectstatic", "description": "Collect static files", "options": [{ "name": "--noinput", "description": "No prompts" }, { "name": "--clear", "description": "Clear before collecting" }, { "name": "--link", "shorthand": "-l", "description": "Symlink instead of copy" }, { "name": "--dry-run", "description": "Preview changes" }] },
|
|
18
|
+
{ "name": "test", "description": "Run tests", "args": [{ "name": "test_label", "description": "Test module/class/method", "required": false }], "options": [{ "name": "--verbosity", "shorthand": "-v", "description": "Verbosity level", "takesValue": true }, { "name": "--keepdb", "description": "Preserve test database" }, { "name": "--parallel", "description": "Run tests in parallel", "takesValue": true }, { "name": "--failfast", "description": "Stop on first failure" }, { "name": "--reverse", "shorthand": "-r", "description": "Reverse test order" }] },
|
|
19
|
+
{ "name": "check", "description": "Check for project issues", "options": [{ "name": "--deploy", "description": "Check deployment settings" }, { "name": "--tag", "shorthand": "-t", "description": "Filter by tag", "takesValue": true }] },
|
|
20
|
+
{ "name": "inspectdb", "description": "Generate models from existing database", "options": [{ "name": "--database", "description": "Database alias", "takesValue": true }] },
|
|
21
|
+
{ "name": "dumpdata", "description": "Export data as fixtures", "args": [{ "name": "app_label", "description": "App to export", "required": false }], "options": [{ "name": "--format", "description": "Format (json, xml, yaml)", "takesValue": true }, { "name": "--indent", "description": "Indentation", "takesValue": true }, { "name": "--output", "shorthand": "-o", "description": "Output file", "takesValue": true }] },
|
|
22
|
+
{ "name": "loaddata", "description": "Load fixture data", "args": [{ "name": "fixture", "description": "Fixture file", "required": true }] },
|
|
23
|
+
{ "name": "flush", "description": "Clear all data from database" },
|
|
24
|
+
{ "name": "sqlmigrate", "description": "Show SQL for a migration", "args": [{ "name": "app_label", "description": "App", "required": true }, { "name": "migration_name", "description": "Migration", "required": true }] },
|
|
25
|
+
{ "name": "sendtestemail", "description": "Send a test email", "args": [{ "name": "email", "description": "Email address", "required": true }] }
|
|
26
|
+
],
|
|
27
|
+
"globalOptions": [
|
|
28
|
+
{ "name": "--settings", "description": "Settings module", "takesValue": true },
|
|
29
|
+
{ "name": "--pythonpath", "description": "Python path", "takesValue": true },
|
|
30
|
+
{ "name": "--traceback", "description": "Show full traceback" },
|
|
31
|
+
{ "name": "--verbosity", "shorthand": "-v", "description": "Verbosity (0-3)", "takesValue": true },
|
|
32
|
+
{ "name": "--no-color", "description": "Disable colored output" },
|
|
33
|
+
{ "name": "--help", "shorthand": "-h", "description": "Show help" },
|
|
34
|
+
{ "name": "--version", "description": "Show version" }
|
|
35
|
+
],
|
|
36
|
+
"examples": [
|
|
37
|
+
{ "command": "django-admin startproject mysite", "description": "Create a new project" },
|
|
38
|
+
{ "command": "python manage.py runserver", "description": "Start dev server" },
|
|
39
|
+
{ "command": "python manage.py makemigrations", "description": "Create migrations" },
|
|
40
|
+
{ "command": "python manage.py migrate", "description": "Apply migrations" },
|
|
41
|
+
{ "command": "python manage.py createsuperuser", "description": "Create admin user" },
|
|
42
|
+
{ "command": "python manage.py test myapp.tests.TestUser", "description": "Run specific test" },
|
|
43
|
+
{ "command": "python manage.py collectstatic --noinput", "description": "Collect static files" },
|
|
44
|
+
{ "command": "python manage.py shell", "description": "Open Django shell" }
|
|
45
|
+
],
|
|
46
|
+
"relatedCommands": ["python", "gunicorn", "uvicorn"],
|
|
47
|
+
"contextEngine": {
|
|
48
|
+
"detectors": [
|
|
49
|
+
{
|
|
50
|
+
"name": "django_apps",
|
|
51
|
+
"description": "Installed Django apps",
|
|
52
|
+
"command": "python manage.py showmigrations --list 2>/dev/null | grep '^[a-z]' | head -20",
|
|
53
|
+
"parser": "lines",
|
|
54
|
+
"cacheFor": 60
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "manage_py",
|
|
58
|
+
"description": "Django manage.py existence",
|
|
59
|
+
"command": "ls manage.py 2>/dev/null",
|
|
60
|
+
"parser": "text",
|
|
61
|
+
"cacheFor": 30
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "settings_module",
|
|
65
|
+
"description": "Django settings module",
|
|
66
|
+
"command": "grep 'DJANGO_SETTINGS_MODULE' manage.py 2>/dev/null",
|
|
67
|
+
"parser": "text",
|
|
68
|
+
"cacheFor": 120
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "migrations_status",
|
|
72
|
+
"description": "Migration status",
|
|
73
|
+
"command": "python manage.py showmigrations --plan 2>/dev/null | tail -10",
|
|
74
|
+
"parser": "text",
|
|
75
|
+
"cacheFor": 30
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "urls",
|
|
79
|
+
"description": "URL patterns",
|
|
80
|
+
"command": "find . -name 'urls.py' -not -path '*/venv/*' 2>/dev/null",
|
|
81
|
+
"parser": "lines",
|
|
82
|
+
"cacheFor": 60
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
}
|