@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,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vercel",
|
|
3
|
+
"description": "Vercel CLI for deploying and managing serverless applications",
|
|
4
|
+
"category": "Cloud CLIs",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "powershell", "fish"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "deploy", "description": "Deploy the current project", "options": [{ "name": "--prod", "description": "Deploy to production" }, { "name": "--prebuilt", "description": "Deploy prebuilt output" }, { "name": "--archive", "description": "Compress deployment files", "takesValue": true }, { "name": "--env", "shorthand": "-e", "description": "Set environment variable", "takesValue": true }, { "name": "--build-env", "shorthand": "-b", "description": "Set build environment variable", "takesValue": true }, { "name": "--yes", "shorthand": "-y", "description": "Skip confirmation" }, { "name": "--no-wait", "description": "Don't wait for deployment to finish" }] },
|
|
9
|
+
{ "name": "dev", "description": "Start a local development server", "options": [{ "name": "--listen", "description": "Listen address", "takesValue": true }, { "name": "--port", "shorthand": "-p", "description": "Port number", "takesValue": true }] },
|
|
10
|
+
{ "name": "env", "description": "Manage environment variables", "subcommands": [
|
|
11
|
+
{ "name": "add", "description": "Add an env variable", "args": [{ "name": "name", "description": "Variable name", "required": true }], "options": [{ "name": "--sensitive", "description": "Mark as sensitive" }] },
|
|
12
|
+
{ "name": "rm", "description": "Remove an env variable", "args": [{ "name": "name", "description": "Variable name", "required": true }] },
|
|
13
|
+
{ "name": "ls", "description": "List env variables" },
|
|
14
|
+
{ "name": "pull", "description": "Pull env variables to .env file", "options": [{ "name": "--yes", "shorthand": "-y", "description": "Skip confirmation" }] }
|
|
15
|
+
]},
|
|
16
|
+
{ "name": "domains", "description": "Manage domains", "subcommands": [
|
|
17
|
+
{ "name": "add", "description": "Add a domain", "args": [{ "name": "domain", "description": "Domain name", "required": true }] },
|
|
18
|
+
{ "name": "rm", "description": "Remove a domain", "args": [{ "name": "domain", "description": "Domain name", "required": true }] },
|
|
19
|
+
{ "name": "ls", "description": "List domains" },
|
|
20
|
+
{ "name": "inspect", "description": "Inspect a domain", "args": [{ "name": "domain", "description": "Domain name", "required": true }] }
|
|
21
|
+
]},
|
|
22
|
+
{ "name": "projects", "description": "Manage projects", "subcommands": [
|
|
23
|
+
{ "name": "ls", "description": "List projects" },
|
|
24
|
+
{ "name": "add", "description": "Add a project", "args": [{ "name": "name", "description": "Project name", "required": true }] },
|
|
25
|
+
{ "name": "rm", "description": "Remove a project", "args": [{ "name": "name", "description": "Project name", "required": true }] }
|
|
26
|
+
]},
|
|
27
|
+
{ "name": "link", "description": "Link local directory to a Vercel project", "options": [{ "name": "--yes", "shorthand": "-y", "description": "Skip confirmation" }, { "name": "--project", "shorthand": "-p", "description": "Project name or id", "takesValue": true }] },
|
|
28
|
+
{ "name": "logs", "description": "Display deployment logs", "args": [{ "name": "url", "description": "Deployment URL", "required": true }], "options": [{ "name": "--follow", "shorthand": "-f", "description": "Follow log output" }] },
|
|
29
|
+
{ "name": "inspect", "description": "Inspect a deployment", "args": [{ "name": "url", "description": "Deployment URL", "required": true }] },
|
|
30
|
+
{ "name": "ls", "description": "List deployments", "options": [{ "name": "--meta", "shorthand": "-m", "description": "Filter by metadata", "takesValue": true }] },
|
|
31
|
+
{ "name": "pull", "description": "Pull project settings and env vars", "options": [{ "name": "--yes", "shorthand": "-y", "description": "Skip confirmation" }, { "name": "--environment", "description": "Environment to pull from", "takesValue": true }] },
|
|
32
|
+
{ "name": "build", "description": "Build the project locally" },
|
|
33
|
+
{ "name": "login", "description": "Log in to Vercel" },
|
|
34
|
+
{ "name": "logout", "description": "Log out of Vercel" },
|
|
35
|
+
{ "name": "whoami", "description": "Show current authenticated user" },
|
|
36
|
+
{ "name": "switch", "description": "Switch between teams", "args": [{ "name": "team", "description": "Team slug", "required": false }] }
|
|
37
|
+
],
|
|
38
|
+
"globalOptions": [
|
|
39
|
+
{ "name": "--token", "shorthand": "-t", "description": "Authentication token", "takesValue": true },
|
|
40
|
+
{ "name": "--scope", "shorthand": "-S", "description": "Team scope", "takesValue": true },
|
|
41
|
+
{ "name": "--global-config", "shorthand": "-Q", "description": "Global config path", "takesValue": true },
|
|
42
|
+
{ "name": "--local-config", "shorthand": "-A", "description": "Local config path", "takesValue": true },
|
|
43
|
+
{ "name": "--debug", "shorthand": "-d", "description": "Enable debug mode" },
|
|
44
|
+
{ "name": "--help", "shorthand": "-h", "description": "Show help" }
|
|
45
|
+
],
|
|
46
|
+
"examples": [
|
|
47
|
+
{ "command": "vercel", "description": "Deploy current directory (preview)" },
|
|
48
|
+
{ "command": "vercel --prod", "description": "Deploy to production" },
|
|
49
|
+
{ "command": "vercel env pull .env.local", "description": "Pull env variables to local file" },
|
|
50
|
+
{ "command": "vercel dev", "description": "Start local dev server" },
|
|
51
|
+
{ "command": "vercel domains ls", "description": "List all domains" },
|
|
52
|
+
{ "command": "vercel logs https://my-app.vercel.app -f", "description": "Follow deployment logs" }
|
|
53
|
+
],
|
|
54
|
+
"relatedCommands": ["netlify", "next", "vite"],
|
|
55
|
+
"contextEngine": {
|
|
56
|
+
"detectors": [
|
|
57
|
+
{
|
|
58
|
+
"name": "current_user",
|
|
59
|
+
"description": "Currently authenticated user",
|
|
60
|
+
"command": "vercel whoami 2>/dev/null",
|
|
61
|
+
"parser": "text",
|
|
62
|
+
"cacheFor": 300,
|
|
63
|
+
"requiresCmd": "vercel"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "project",
|
|
67
|
+
"description": "Linked project from .vercel directory",
|
|
68
|
+
"command": "cat .vercel/project.json 2>/dev/null",
|
|
69
|
+
"parser": "json",
|
|
70
|
+
"cacheFor": 60
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "deployments",
|
|
74
|
+
"description": "Recent deployments",
|
|
75
|
+
"command": "vercel ls --json 2>/dev/null | head -20",
|
|
76
|
+
"parser": "json",
|
|
77
|
+
"cacheFor": 60,
|
|
78
|
+
"requiresCmd": "vercel"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "domains",
|
|
82
|
+
"description": "Configured domains",
|
|
83
|
+
"command": "vercel domains ls 2>/dev/null",
|
|
84
|
+
"parser": "text",
|
|
85
|
+
"cacheFor": 120,
|
|
86
|
+
"requiresCmd": "vercel"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "env_vars",
|
|
90
|
+
"description": "Environment variables",
|
|
91
|
+
"command": "vercel env ls 2>/dev/null",
|
|
92
|
+
"parser": "text",
|
|
93
|
+
"cacheFor": 120,
|
|
94
|
+
"requiresCmd": "vercel"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vite",
|
|
3
|
+
"description": "Vite - next generation frontend build tool with HMR and optimized builds",
|
|
4
|
+
"category": "Node Ecosystem",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "powershell", "fish"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "dev", "description": "Start development server", "options": [{ "name": "--host", "description": "Bind host", "takesValue": true }, { "name": "--port", "description": "Port number", "takesValue": true }, { "name": "--open", "description": "Open browser on start" }, { "name": "--strictPort", "description": "Exit on port conflict" }, { "name": "--force", "description": "Force re-optimize deps" }, { "name": "--https", "description": "Enable HTTPS" }, { "name": "--mode", "shorthand": "-m", "description": "Set mode", "takesValue": true }] },
|
|
9
|
+
{ "name": "build", "description": "Build for production", "options": [{ "name": "--outDir", "description": "Output directory", "takesValue": true }, { "name": "--assetsDir", "description": "Assets directory", "takesValue": true }, { "name": "--sourcemap", "description": "Generate sourcemaps" }, { "name": "--minify", "description": "Minification (esbuild, terser, false)", "takesValue": true }, { "name": "--mode", "shorthand": "-m", "description": "Set mode", "takesValue": true }, { "name": "--watch", "shorthand": "-w", "description": "Watch mode" }, { "name": "--emptyOutDir", "description": "Empty output dir" }, { "name": "--ssr", "description": "SSR entry", "takesValue": true }] },
|
|
10
|
+
{ "name": "preview", "description": "Preview production build locally", "options": [{ "name": "--host", "description": "Bind host", "takesValue": true }, { "name": "--port", "description": "Port", "takesValue": true }, { "name": "--open", "description": "Open browser" }, { "name": "--strictPort", "description": "Exit on port conflict" }] },
|
|
11
|
+
{ "name": "optimize", "description": "Pre-bundle dependencies", "options": [{ "name": "--force", "description": "Force re-optimization" }] }
|
|
12
|
+
],
|
|
13
|
+
"globalOptions": [
|
|
14
|
+
{ "name": "--config", "shorthand": "-c", "description": "Config file path", "takesValue": true },
|
|
15
|
+
{ "name": "--base", "description": "Public base path", "takesValue": true },
|
|
16
|
+
{ "name": "--logLevel", "shorthand": "-l", "description": "Log level (info, warn, error, silent)", "takesValue": true },
|
|
17
|
+
{ "name": "--clearScreen", "description": "Allow/disable screen clearing" },
|
|
18
|
+
{ "name": "--debug", "shorthand": "-d", "description": "Enable debug output", "takesValue": true },
|
|
19
|
+
{ "name": "--filter", "shorthand": "-f", "description": "Filter debug output", "takesValue": true },
|
|
20
|
+
{ "name": "--help", "shorthand": "-h", "description": "Show help" },
|
|
21
|
+
{ "name": "--version", "shorthand": "-v", "description": "Show version" }
|
|
22
|
+
],
|
|
23
|
+
"examples": [
|
|
24
|
+
{ "command": "vite", "description": "Start dev server" },
|
|
25
|
+
{ "command": "vite build", "description": "Build for production" },
|
|
26
|
+
{ "command": "vite preview", "description": "Preview production build" },
|
|
27
|
+
{ "command": "vite dev --port 5000 --open", "description": "Dev server on port 5000" },
|
|
28
|
+
{ "command": "vite build --mode staging", "description": "Build with staging mode" }
|
|
29
|
+
],
|
|
30
|
+
"relatedCommands": ["next", "npm", "turbo"],
|
|
31
|
+
"contextEngine": {
|
|
32
|
+
"detectors": [
|
|
33
|
+
{
|
|
34
|
+
"name": "vite_config",
|
|
35
|
+
"description": "Vite configuration file",
|
|
36
|
+
"command": "cat vite.config.ts 2>/dev/null || cat vite.config.js 2>/dev/null || cat vite.config.mts 2>/dev/null",
|
|
37
|
+
"parser": "text",
|
|
38
|
+
"cacheFor": 30
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "dependencies",
|
|
42
|
+
"description": "Project dependencies",
|
|
43
|
+
"command": "node -e \"const p=require('./package.json');Object.keys({...p.dependencies,...p.devDependencies}).forEach(d=>console.log(d))\" 2>/dev/null | head -40",
|
|
44
|
+
"parser": "lines",
|
|
45
|
+
"cacheFor": 60
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "package_scripts",
|
|
49
|
+
"description": "Package.json scripts",
|
|
50
|
+
"command": "node -e \"const p=require('./package.json');Object.entries(p.scripts||{}).forEach(([k,v])=>console.log(k+': '+v))\" 2>/dev/null",
|
|
51
|
+
"parser": "lines",
|
|
52
|
+
"cacheFor": 30
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "env_files",
|
|
56
|
+
"description": "Environment files",
|
|
57
|
+
"command": "ls -1 .env* 2>/dev/null",
|
|
58
|
+
"parser": "lines",
|
|
59
|
+
"cacheFor": 30
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vitest",
|
|
3
|
+
"description": "Blazing fast Vite-native unit testing framework",
|
|
4
|
+
"category": "Testing Tools",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "powershell", "fish"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "run", "description": "Run tests once without watch", "options": [
|
|
9
|
+
{ "name": "--reporter", "description": "Test reporter", "takesValue": true },
|
|
10
|
+
{ "name": "--outputFile", "description": "Write results to file", "takesValue": true }
|
|
11
|
+
]},
|
|
12
|
+
{ "name": "watch", "description": "Run tests in watch mode" },
|
|
13
|
+
{ "name": "dev", "description": "Alias for watch mode" },
|
|
14
|
+
{ "name": "bench", "description": "Run benchmarks" },
|
|
15
|
+
{ "name": "typecheck", "description": "Run type checking tests" },
|
|
16
|
+
{ "name": "related", "description": "Run tests related to source files", "args": [{ "name": "files", "description": "Source files", "required": true }] },
|
|
17
|
+
{ "name": "init", "description": "Initialize Vitest config" },
|
|
18
|
+
{ "name": "list", "description": "List matching test files" }
|
|
19
|
+
],
|
|
20
|
+
"globalOptions": [
|
|
21
|
+
{ "name": "--config", "shorthand": "-c", "description": "Config file path", "takesValue": true },
|
|
22
|
+
{ "name": "--root", "shorthand": "-r", "description": "Root path", "takesValue": true },
|
|
23
|
+
{ "name": "--update", "shorthand": "-u", "description": "Update snapshots" },
|
|
24
|
+
{ "name": "--coverage", "description": "Enable coverage" },
|
|
25
|
+
{ "name": "--environment", "description": "Test environment (node, jsdom, happy-dom)", "takesValue": true },
|
|
26
|
+
{ "name": "--threads", "description": "Enable threads" },
|
|
27
|
+
{ "name": "--no-threads", "description": "Disable threads" },
|
|
28
|
+
{ "name": "--pool", "description": "Pool (threads, forks, vmThreads)", "takesValue": true },
|
|
29
|
+
{ "name": "--silent", "description": "Suppress console output" },
|
|
30
|
+
{ "name": "--reporter", "description": "Reporter (verbose, dot, json, junit, html)", "takesValue": true },
|
|
31
|
+
{ "name": "--bail", "description": "Stop after N failures", "takesValue": true },
|
|
32
|
+
{ "name": "--globals", "description": "Inject global APIs" },
|
|
33
|
+
{ "name": "--dom", "description": "Enable JSDOM" },
|
|
34
|
+
{ "name": "--api", "description": "Enable API server", "takesValue": true },
|
|
35
|
+
{ "name": "--ui", "description": "Open Vitest UI" },
|
|
36
|
+
{ "name": "--open", "description": "Open UI in browser" },
|
|
37
|
+
{ "name": "--changed", "description": "Run affected tests since commit", "takesValue": true },
|
|
38
|
+
{ "name": "--sequence.shuffle", "description": "Randomize test order" },
|
|
39
|
+
{ "name": "--passWithNoTests", "description": "Pass with no tests" },
|
|
40
|
+
{ "name": "--isolate", "description": "Isolate test environment" },
|
|
41
|
+
{ "name": "--dir", "description": "Test directory", "takesValue": true },
|
|
42
|
+
{ "name": "--mode", "description": "Vite mode", "takesValue": true }
|
|
43
|
+
],
|
|
44
|
+
"examples": [
|
|
45
|
+
{ "command": "vitest", "description": "Run in watch mode" },
|
|
46
|
+
{ "command": "vitest run", "description": "Run once without watch" },
|
|
47
|
+
{ "command": "vitest run --coverage", "description": "Run with coverage" },
|
|
48
|
+
{ "command": "vitest auth.test.ts", "description": "Run specific file" },
|
|
49
|
+
{ "command": "vitest --ui", "description": "Open Vitest UI" },
|
|
50
|
+
{ "command": "vitest bench", "description": "Run benchmarks" },
|
|
51
|
+
{ "command": "vitest run --reporter json --outputFile results.json", "description": "JSON output" },
|
|
52
|
+
{ "command": "vitest --changed main", "description": "Run changed since main" },
|
|
53
|
+
{ "command": "vitest typecheck", "description": "Type checking tests" }
|
|
54
|
+
],
|
|
55
|
+
"relatedCommands": ["jest", "vite"],
|
|
56
|
+
"contextEngine": {
|
|
57
|
+
"detectors": [
|
|
58
|
+
{
|
|
59
|
+
"name": "config",
|
|
60
|
+
"description": "Vitest configuration",
|
|
61
|
+
"command": "cat vitest.config.ts 2>/dev/null || cat vitest.config.js 2>/dev/null || cat vitest.config.mts 2>/dev/null",
|
|
62
|
+
"parser": "text",
|
|
63
|
+
"cacheFor": 60
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "test_files",
|
|
67
|
+
"description": "Test files",
|
|
68
|
+
"command": "find . -name '*.test.*' -o -name '*.spec.*' 2>/dev/null | grep -v node_modules | head -20",
|
|
69
|
+
"parser": "lines",
|
|
70
|
+
"cacheFor": 30
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "workspace",
|
|
74
|
+
"description": "Vitest workspace",
|
|
75
|
+
"command": "cat vitest.workspace.ts 2>/dev/null || cat vitest.workspace.js 2>/dev/null",
|
|
76
|
+
"parser": "text",
|
|
77
|
+
"cacheFor": 60
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "vite_config",
|
|
81
|
+
"description": "Vite configuration (fallback)",
|
|
82
|
+
"command": "cat vite.config.ts 2>/dev/null | head -20",
|
|
83
|
+
"parser": "text",
|
|
84
|
+
"cacheFor": 60
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wasm-pack",
|
|
3
|
+
"description": "Build, test, and publish Rust-generated WebAssembly packages",
|
|
4
|
+
"category": "Rust Ecosystem",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "powershell", "fish"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "build", "description": "Build the project into a wasm pkg", "args": [{ "name": "path", "description": "Path to crate directory", "required": false }], "options": [
|
|
9
|
+
{ "name": "--target", "shorthand": "-t", "description": "Target (bundler, nodejs, web, no-modules)", "takesValue": true },
|
|
10
|
+
{ "name": "--out-dir", "shorthand": "-d", "description": "Output directory", "takesValue": true },
|
|
11
|
+
{ "name": "--out-name", "description": "Output file name", "takesValue": true },
|
|
12
|
+
{ "name": "--scope", "shorthand": "-s", "description": "npm scope", "takesValue": true },
|
|
13
|
+
{ "name": "--dev", "description": "Development build" },
|
|
14
|
+
{ "name": "--release", "description": "Release build" },
|
|
15
|
+
{ "name": "--profiling", "description": "Profiling build" },
|
|
16
|
+
{ "name": "--no-typescript", "description": "Don't generate TypeScript definitions" },
|
|
17
|
+
{ "name": "--weak-refs", "description": "Enable weak references" },
|
|
18
|
+
{ "name": "--reference-types", "description": "Enable reference types" }
|
|
19
|
+
]},
|
|
20
|
+
{ "name": "test", "description": "Run wasm tests in headless browser", "options": [
|
|
21
|
+
{ "name": "--headless", "description": "Run headless" },
|
|
22
|
+
{ "name": "--chrome", "description": "Use Chrome" },
|
|
23
|
+
{ "name": "--firefox", "description": "Use Firefox" },
|
|
24
|
+
{ "name": "--safari", "description": "Use Safari" },
|
|
25
|
+
{ "name": "--node", "description": "Test in Node.js" }
|
|
26
|
+
]},
|
|
27
|
+
{ "name": "pack", "description": "Create a tarball from pkg directory" },
|
|
28
|
+
{ "name": "publish", "description": "Publish to npm registry", "options": [
|
|
29
|
+
{ "name": "--access", "description": "npm access level (public, restricted)", "takesValue": true },
|
|
30
|
+
{ "name": "--tag", "description": "npm tag", "takesValue": true }
|
|
31
|
+
]},
|
|
32
|
+
{ "name": "new", "description": "Create a new wasm-pack project", "args": [{ "name": "name", "description": "Project name", "required": true }], "options": [
|
|
33
|
+
{ "name": "--template", "description": "Template to use", "takesValue": true },
|
|
34
|
+
{ "name": "--mode", "description": "Mode (normal, noinstall, force)", "takesValue": true }
|
|
35
|
+
]},
|
|
36
|
+
{ "name": "login", "description": "Login to npm registry", "options": [
|
|
37
|
+
{ "name": "--registry", "description": "Registry URL", "takesValue": true },
|
|
38
|
+
{ "name": "--scope", "description": "npm scope", "takesValue": true }
|
|
39
|
+
]}
|
|
40
|
+
],
|
|
41
|
+
"globalOptions": [
|
|
42
|
+
{ "name": "--verbose", "shorthand": "-v", "description": "Verbose output" },
|
|
43
|
+
{ "name": "--quiet", "shorthand": "-q", "description": "Quiet output" },
|
|
44
|
+
{ "name": "--log-level", "description": "Log level", "takesValue": true },
|
|
45
|
+
{ "name": "--help", "shorthand": "-h", "description": "Show help" },
|
|
46
|
+
{ "name": "--version", "shorthand": "-V", "description": "Show version" }
|
|
47
|
+
],
|
|
48
|
+
"examples": [
|
|
49
|
+
{ "command": "wasm-pack build", "description": "Build WASM package for bundlers" },
|
|
50
|
+
{ "command": "wasm-pack build --target web", "description": "Build for web (no bundler)" },
|
|
51
|
+
{ "command": "wasm-pack build --target nodejs", "description": "Build for Node.js" },
|
|
52
|
+
{ "command": "wasm-pack test --headless --chrome", "description": "Run tests in headless Chrome" },
|
|
53
|
+
{ "command": "wasm-pack publish --access public", "description": "Publish to npm" },
|
|
54
|
+
{ "command": "wasm-pack new my-wasm-lib", "description": "Create new project" }
|
|
55
|
+
],
|
|
56
|
+
"relatedCommands": ["cargo", "rustup", "npm"],
|
|
57
|
+
"contextEngine": {
|
|
58
|
+
"detectors": [
|
|
59
|
+
{
|
|
60
|
+
"name": "cargo_toml",
|
|
61
|
+
"description": "Crate metadata",
|
|
62
|
+
"command": "cat Cargo.toml 2>/dev/null | head -20",
|
|
63
|
+
"parser": "text",
|
|
64
|
+
"cacheFor": 30
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "wasm_target",
|
|
68
|
+
"description": "WASM target installed",
|
|
69
|
+
"command": "rustup target list --installed 2>/dev/null | grep wasm",
|
|
70
|
+
"parser": "lines",
|
|
71
|
+
"cacheFor": 120,
|
|
72
|
+
"requiresCmd": "rustup"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "pkg_dir",
|
|
76
|
+
"description": "Built package directory",
|
|
77
|
+
"command": "ls pkg/ 2>/dev/null",
|
|
78
|
+
"parser": "lines",
|
|
79
|
+
"cacheFor": 30
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "crate_type",
|
|
83
|
+
"description": "Crate type from Cargo.toml",
|
|
84
|
+
"command": "grep 'crate-type' Cargo.toml 2>/dev/null",
|
|
85
|
+
"parser": "text",
|
|
86
|
+
"cacheFor": 60
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wget",
|
|
3
|
+
"description": "Non-interactive network downloader",
|
|
4
|
+
"category": "networking",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish"],
|
|
7
|
+
"subcommands": [],
|
|
8
|
+
"globalOptions": [
|
|
9
|
+
{ "name": "-O", "description": "Output file name", "type": "file" },
|
|
10
|
+
{ "name": "-P", "description": "Output directory prefix", "type": "directory" },
|
|
11
|
+
{ "name": "-c", "description": "Continue partially downloaded file" },
|
|
12
|
+
{ "name": "-r", "description": "Recursive download" },
|
|
13
|
+
{ "name": "-q", "description": "Quiet mode" },
|
|
14
|
+
{ "name": "-v", "description": "Verbose mode" },
|
|
15
|
+
{ "name": "--no-check-certificate", "description": "Skip SSL verification" },
|
|
16
|
+
{ "name": "-b", "description": "Go to background after startup" },
|
|
17
|
+
{ "name": "--limit-rate", "description": "Limit download speed", "type": "string" },
|
|
18
|
+
{ "name": "--tries", "short": "-t", "description": "Number of retries", "type": "number" },
|
|
19
|
+
{ "name": "--timeout", "short": "-T", "description": "Timeout in seconds", "type": "number" },
|
|
20
|
+
{ "name": "--user", "description": "HTTP user", "type": "string" },
|
|
21
|
+
{ "name": "--password", "description": "HTTP password", "type": "string" },
|
|
22
|
+
{ "name": "--header", "description": "Custom header", "type": "string" },
|
|
23
|
+
{ "name": "-i", "description": "Download URLs from file", "type": "file" },
|
|
24
|
+
{ "name": "--mirror", "short": "-m", "description": "Mirror a website" },
|
|
25
|
+
{ "name": "-np", "description": "Don't ascend to parent directory" },
|
|
26
|
+
{ "name": "-k", "description": "Convert links for local viewing" }
|
|
27
|
+
],
|
|
28
|
+
"examples": [
|
|
29
|
+
"wget https://example.com/file.tar.gz",
|
|
30
|
+
"wget -O output.html https://example.com",
|
|
31
|
+
"wget -c https://example.com/large-file.iso",
|
|
32
|
+
"wget --limit-rate=1m https://example.com/file.zip",
|
|
33
|
+
"wget -r -np https://example.com/docs/",
|
|
34
|
+
"wget -i urls.txt",
|
|
35
|
+
"wget --mirror -k -p https://example.com"
|
|
36
|
+
],
|
|
37
|
+
"relatedCommands": ["curl", "aria2c", "axel"]
|
|
38
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "winget",
|
|
3
|
+
"description": "Windows Package Manager CLI",
|
|
4
|
+
"category": "Package Managers",
|
|
5
|
+
"platforms": ["windows"],
|
|
6
|
+
"shells": ["powershell", "cmd"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "install", "description": "Install a package", "args": [{ "name": "query", "description": "Package identifier or name", "required": true }], "options": [
|
|
9
|
+
{ "name": "--id", "description": "Filter by package ID", "takesValue": true },
|
|
10
|
+
{ "name": "--name", "description": "Filter by package name", "takesValue": true },
|
|
11
|
+
{ "name": "--version", "shorthand": "-v", "description": "Specific version", "takesValue": true },
|
|
12
|
+
{ "name": "--source", "shorthand": "-s", "description": "Source (winget, msstore)", "takesValue": true },
|
|
13
|
+
{ "name": "--scope", "description": "Scope (user, machine)", "takesValue": true },
|
|
14
|
+
{ "name": "--architecture", "shorthand": "-a", "description": "Architecture (x64, x86, arm64)", "takesValue": true },
|
|
15
|
+
{ "name": "--interactive", "shorthand": "-i", "description": "Interactive install" },
|
|
16
|
+
{ "name": "--silent", "shorthand": "-h", "description": "Silent install" },
|
|
17
|
+
{ "name": "--accept-package-agreements", "description": "Accept agreements" },
|
|
18
|
+
{ "name": "--accept-source-agreements", "description": "Accept source agreements" },
|
|
19
|
+
{ "name": "--override", "shorthand": "-o", "description": "Override install arguments", "takesValue": true },
|
|
20
|
+
{ "name": "--location", "shorthand": "-l", "description": "Install location", "takesValue": true },
|
|
21
|
+
{ "name": "--force", "description": "Force install" },
|
|
22
|
+
{ "name": "--header", "description": "Custom REST header", "takesValue": true }
|
|
23
|
+
]},
|
|
24
|
+
{ "name": "uninstall", "description": "Uninstall a package", "args": [{ "name": "query", "description": "Package name or ID", "required": true }], "options": [
|
|
25
|
+
{ "name": "--id", "description": "Package ID", "takesValue": true },
|
|
26
|
+
{ "name": "--version", "shorthand": "-v", "description": "Version", "takesValue": true },
|
|
27
|
+
{ "name": "--silent", "description": "Silent uninstall" },
|
|
28
|
+
{ "name": "--force", "description": "Force uninstall" },
|
|
29
|
+
{ "name": "--purge", "description": "Remove data and directories" }
|
|
30
|
+
]},
|
|
31
|
+
{ "name": "upgrade", "description": "Upgrade packages", "args": [{ "name": "query", "description": "Package (or --all)", "required": false }], "options": [
|
|
32
|
+
{ "name": "--all", "description": "Upgrade all packages" },
|
|
33
|
+
{ "name": "--id", "description": "Package ID", "takesValue": true },
|
|
34
|
+
{ "name": "--version", "description": "Target version", "takesValue": true },
|
|
35
|
+
{ "name": "--silent", "description": "Silent upgrade" },
|
|
36
|
+
{ "name": "--include-unknown", "description": "Include packages with unknown versions" },
|
|
37
|
+
{ "name": "--accept-package-agreements", "description": "Accept agreements" },
|
|
38
|
+
{ "name": "--accept-source-agreements", "description": "Accept source agreements" }
|
|
39
|
+
]},
|
|
40
|
+
{ "name": "search", "description": "Search for packages", "args": [{ "name": "query", "description": "Search term", "required": true }], "options": [
|
|
41
|
+
{ "name": "--id", "description": "Filter by ID", "takesValue": true },
|
|
42
|
+
{ "name": "--name", "description": "Filter by name", "takesValue": true },
|
|
43
|
+
{ "name": "--tag", "description": "Filter by tag", "takesValue": true },
|
|
44
|
+
{ "name": "--source", "shorthand": "-s", "description": "Source", "takesValue": true },
|
|
45
|
+
{ "name": "--count", "shorthand": "-n", "description": "Max results", "takesValue": true },
|
|
46
|
+
{ "name": "--exact", "shorthand": "-e", "description": "Exact match" }
|
|
47
|
+
]},
|
|
48
|
+
{ "name": "list", "description": "List installed packages", "options": [
|
|
49
|
+
{ "name": "--id", "description": "Filter by ID", "takesValue": true },
|
|
50
|
+
{ "name": "--name", "description": "Filter by name", "takesValue": true },
|
|
51
|
+
{ "name": "--source", "shorthand": "-s", "description": "Source", "takesValue": true },
|
|
52
|
+
{ "name": "--upgrade-available", "description": "Show only upgradable" }
|
|
53
|
+
]},
|
|
54
|
+
{ "name": "show", "description": "Show package details", "args": [{ "name": "query", "description": "Package identifier", "required": true }], "options": [
|
|
55
|
+
{ "name": "--versions", "description": "Show all versions" }
|
|
56
|
+
]},
|
|
57
|
+
{ "name": "source", "description": "Manage sources", "subcommands": [
|
|
58
|
+
{ "name": "add", "description": "Add source" },
|
|
59
|
+
{ "name": "remove", "description": "Remove source" },
|
|
60
|
+
{ "name": "list", "description": "List sources" },
|
|
61
|
+
{ "name": "update", "description": "Update sources" },
|
|
62
|
+
{ "name": "reset", "description": "Reset sources" },
|
|
63
|
+
{ "name": "export", "description": "Export sources" }
|
|
64
|
+
]},
|
|
65
|
+
{ "name": "settings", "description": "Open settings (JSON)" },
|
|
66
|
+
{ "name": "features", "description": "Show experimental features" },
|
|
67
|
+
{ "name": "export", "description": "Export installed packages to JSON", "options": [
|
|
68
|
+
{ "name": "-o", "description": "Output file", "takesValue": true },
|
|
69
|
+
{ "name": "--source", "description": "Source", "takesValue": true }
|
|
70
|
+
]},
|
|
71
|
+
{ "name": "import", "description": "Import packages from JSON", "args": [{ "name": "file", "description": "Import file", "required": true }] },
|
|
72
|
+
{ "name": "pin", "description": "Manage package pins", "subcommands": [
|
|
73
|
+
{ "name": "add", "description": "Add pin" },
|
|
74
|
+
{ "name": "remove", "description": "Remove pin" },
|
|
75
|
+
{ "name": "list", "description": "List pins" },
|
|
76
|
+
{ "name": "reset", "description": "Reset pins" }
|
|
77
|
+
]},
|
|
78
|
+
{ "name": "repair", "description": "Repair package installations" },
|
|
79
|
+
{ "name": "download", "description": "Download installer" },
|
|
80
|
+
{ "name": "configure", "description": "Configure winget" }
|
|
81
|
+
],
|
|
82
|
+
"globalOptions": [
|
|
83
|
+
{ "name": "--verbose", "description": "Verbose output" },
|
|
84
|
+
{ "name": "--disable-interactivity", "description": "Disable interactive prompts" },
|
|
85
|
+
{ "name": "--help", "shorthand": "-?", "description": "Show help" },
|
|
86
|
+
{ "name": "--version", "description": "Show version" },
|
|
87
|
+
{ "name": "--info", "description": "Show system info" }
|
|
88
|
+
],
|
|
89
|
+
"examples": [
|
|
90
|
+
{ "command": "winget install Git.Git", "description": "Install Git" },
|
|
91
|
+
{ "command": "winget install -e --id Microsoft.VisualStudioCode", "description": "Install VS Code by exact ID" },
|
|
92
|
+
{ "command": "winget install Python.Python.3.12 --silent", "description": "Silent install" },
|
|
93
|
+
{ "command": "winget upgrade --all", "description": "Upgrade all packages" },
|
|
94
|
+
{ "command": "winget search nodejs", "description": "Search for Node.js" },
|
|
95
|
+
{ "command": "winget list", "description": "List installed packages" },
|
|
96
|
+
{ "command": "winget list --upgrade-available", "description": "Show upgradable" },
|
|
97
|
+
{ "command": "winget show Git.Git", "description": "Package details" },
|
|
98
|
+
{ "command": "winget uninstall Git.Git", "description": "Uninstall Git" },
|
|
99
|
+
{ "command": "winget export -o packages.json", "description": "Export package list" },
|
|
100
|
+
{ "command": "winget import packages.json", "description": "Import packages" }
|
|
101
|
+
],
|
|
102
|
+
"relatedCommands": ["choco", "scoop"],
|
|
103
|
+
"contextEngine": {
|
|
104
|
+
"detectors": [
|
|
105
|
+
{
|
|
106
|
+
"name": "installed",
|
|
107
|
+
"description": "Installed packages",
|
|
108
|
+
"command": "winget list 2>$null | Select-Object -Last 20",
|
|
109
|
+
"parser": "lines",
|
|
110
|
+
"cacheFor": 120,
|
|
111
|
+
"requiresCmd": "winget"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "upgradable",
|
|
115
|
+
"description": "Upgradable packages",
|
|
116
|
+
"command": "winget upgrade 2>$null | Select-Object -Last 15",
|
|
117
|
+
"parser": "lines",
|
|
118
|
+
"cacheFor": 300,
|
|
119
|
+
"requiresCmd": "winget"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "sources",
|
|
123
|
+
"description": "Configured sources",
|
|
124
|
+
"command": "winget source list 2>$null",
|
|
125
|
+
"parser": "lines",
|
|
126
|
+
"cacheFor": 300,
|
|
127
|
+
"requiresCmd": "winget"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wireshark",
|
|
3
|
+
"description": "Network protocol analyzer with GUI and CLI (tshark) for deep packet inspection",
|
|
4
|
+
"category": "Network/Security",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "powershell", "fish"],
|
|
7
|
+
"subcommands": [],
|
|
8
|
+
"globalOptions": [
|
|
9
|
+
{ "name": "-i", "description": "Capture interface", "takesValue": true },
|
|
10
|
+
{ "name": "-f", "description": "Capture filter (BPF)", "takesValue": true },
|
|
11
|
+
{ "name": "-Y", "description": "Display filter", "takesValue": true },
|
|
12
|
+
{ "name": "-r", "description": "Read from pcap file", "takesValue": true },
|
|
13
|
+
{ "name": "-w", "description": "Write to pcap file (tshark)", "takesValue": true },
|
|
14
|
+
{ "name": "-c", "description": "Stop after N packets", "takesValue": true },
|
|
15
|
+
{ "name": "-a", "description": "Auto-stop condition (duration:N, filesize:N)", "takesValue": true },
|
|
16
|
+
{ "name": "-b", "description": "Ring buffer (duration:N, filesize:N, files:N)", "takesValue": true },
|
|
17
|
+
{ "name": "-T", "description": "Output format (fields, json, jsonraw, pdml, ps, psml, tabs, text, ek)", "takesValue": true },
|
|
18
|
+
{ "name": "-e", "description": "Field to print (with -T fields)", "takesValue": true },
|
|
19
|
+
{ "name": "-E", "description": "Field print options", "takesValue": true },
|
|
20
|
+
{ "name": "-V", "description": "Packet details (verbose)" },
|
|
21
|
+
{ "name": "-x", "description": "Print hex dump" },
|
|
22
|
+
{ "name": "-n", "description": "Disable network name resolution" },
|
|
23
|
+
{ "name": "-N", "description": "Name resolving flags", "takesValue": true },
|
|
24
|
+
{ "name": "-q", "description": "Quiet mode (statistics only)" },
|
|
25
|
+
{ "name": "-z", "description": "Statistics (io,stat, conv,tcp, http,tree, etc.)", "takesValue": true },
|
|
26
|
+
{ "name": "-D", "description": "List interfaces" },
|
|
27
|
+
{ "name": "-L", "description": "List link-layer types" },
|
|
28
|
+
{ "name": "-s", "description": "Snap length", "takesValue": true },
|
|
29
|
+
{ "name": "-2", "description": "Two-pass analysis" },
|
|
30
|
+
{ "name": "-o", "description": "Set preference", "takesValue": true },
|
|
31
|
+
{ "name": "-K", "description": "Keytab file for Kerberos", "takesValue": true }
|
|
32
|
+
],
|
|
33
|
+
"examples": [
|
|
34
|
+
{ "command": "wireshark", "description": "Launch GUI" },
|
|
35
|
+
{ "command": "wireshark -i eth0", "description": "GUI capture on eth0" },
|
|
36
|
+
{ "command": "wireshark -r capture.pcap", "description": "Open capture file" },
|
|
37
|
+
{ "command": "tshark -i eth0 -c 100", "description": "CLI capture 100 packets" },
|
|
38
|
+
{ "command": "tshark -r capture.pcap -Y 'http'", "description": "Filter HTTP in file" },
|
|
39
|
+
{ "command": "tshark -i eth0 -f 'port 443' -w tls.pcap", "description": "Capture TLS to file" },
|
|
40
|
+
{ "command": "tshark -r file.pcap -T json", "description": "JSON output" },
|
|
41
|
+
{ "command": "tshark -r file.pcap -T fields -e ip.src -e ip.dst -e tcp.port", "description": "Extract fields" },
|
|
42
|
+
{ "command": "tshark -r file.pcap -q -z io,stat,1", "description": "I/O statistics per second" },
|
|
43
|
+
{ "command": "tshark -r file.pcap -q -z conv,tcp", "description": "TCP conversations" }
|
|
44
|
+
],
|
|
45
|
+
"relatedCommands": ["tcpdump", "nmap"],
|
|
46
|
+
"contextEngine": {
|
|
47
|
+
"detectors": [
|
|
48
|
+
{
|
|
49
|
+
"name": "interfaces",
|
|
50
|
+
"description": "Capture interfaces",
|
|
51
|
+
"command": "tshark -D 2>/dev/null | head -10",
|
|
52
|
+
"parser": "lines",
|
|
53
|
+
"cacheFor": 60,
|
|
54
|
+
"requiresCmd": "tshark"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "pcap_files",
|
|
58
|
+
"description": "Pcap files in directory",
|
|
59
|
+
"command": "find . -maxdepth 2 \\( -name '*.pcap' -o -name '*.pcapng' -o -name '*.cap' \\) 2>/dev/null | head -10",
|
|
60
|
+
"parser": "lines",
|
|
61
|
+
"cacheFor": 30
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "version",
|
|
65
|
+
"description": "Wireshark/tshark version",
|
|
66
|
+
"command": "tshark --version 2>/dev/null | head -3",
|
|
67
|
+
"parser": "text",
|
|
68
|
+
"cacheFor": 300,
|
|
69
|
+
"requiresCmd": "tshark"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "display_filters",
|
|
73
|
+
"description": "Common protocols",
|
|
74
|
+
"command": "tshark -G protocols 2>/dev/null | head -20",
|
|
75
|
+
"parser": "lines",
|
|
76
|
+
"cacheFor": 300,
|
|
77
|
+
"requiresCmd": "tshark"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
}
|