@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.
Files changed (138) hide show
  1. package/README.md +213 -0
  2. package/data/commands/air.json +59 -0
  3. package/data/commands/ansible.json +24 -0
  4. package/data/commands/apachectl.json +87 -0
  5. package/data/commands/apt-get.json +81 -0
  6. package/data/commands/apt.json +91 -0
  7. package/data/commands/awk.json +26 -0
  8. package/data/commands/aws-vault.json +140 -0
  9. package/data/commands/aws.json +229 -0
  10. package/data/commands/az.json +36 -0
  11. package/data/commands/bazel.json +103 -0
  12. package/data/commands/brew.json +140 -0
  13. package/data/commands/bun.json +230 -0
  14. package/data/commands/caddy.json +194 -0
  15. package/data/commands/cargo.json +1048 -0
  16. package/data/commands/cat.json +18 -0
  17. package/data/commands/cd.json +48 -0
  18. package/data/commands/certbot.json +148 -0
  19. package/data/commands/chmod.json +97 -0
  20. package/data/commands/choco.json +134 -0
  21. package/data/commands/chown.json +59 -0
  22. package/data/commands/clickhouse-client.json +74 -0
  23. package/data/commands/cloudflare.json +226 -0
  24. package/data/commands/cmake.json +110 -0
  25. package/data/commands/cockroach.json +92 -0
  26. package/data/commands/conda.json +94 -0
  27. package/data/commands/consul.json +125 -0
  28. package/data/commands/cp.json +86 -0
  29. package/data/commands/curl.json +44 -0
  30. package/data/commands/cypress.json +100 -0
  31. package/data/commands/deno.json +29 -0
  32. package/data/commands/django-admin.json +86 -0
  33. package/data/commands/dnf.json +137 -0
  34. package/data/commands/docker.json +1100 -0
  35. package/data/commands/doctl.json +156 -0
  36. package/data/commands/eslint.json +69 -0
  37. package/data/commands/find.json +44 -0
  38. package/data/commands/firebase.json +97 -0
  39. package/data/commands/flask.json +79 -0
  40. package/data/commands/flyctl.json +148 -0
  41. package/data/commands/gcloud.json +227 -0
  42. package/data/commands/gh.json +39 -0
  43. package/data/commands/git.json +527 -0
  44. package/data/commands/glab.json +116 -0
  45. package/data/commands/go.json +161 -0
  46. package/data/commands/gofmt.json +51 -0
  47. package/data/commands/golangci-lint.json +89 -0
  48. package/data/commands/gradle.json +44 -0
  49. package/data/commands/grep.json +47 -0
  50. package/data/commands/gunicorn.json +83 -0
  51. package/data/commands/helm.json +1104 -0
  52. package/data/commands/hg.json +92 -0
  53. package/data/commands/httpd.json +147 -0
  54. package/data/commands/influx.json +119 -0
  55. package/data/commands/iptables.json +86 -0
  56. package/data/commands/java.json +31 -0
  57. package/data/commands/jest.json +82 -0
  58. package/data/commands/journalctl.json +88 -0
  59. package/data/commands/just.json +93 -0
  60. package/data/commands/k6.json +84 -0
  61. package/data/commands/kubectl.json +1277 -0
  62. package/data/commands/linode-cli.json +117 -0
  63. package/data/commands/locust.json +83 -0
  64. package/data/commands/ls.json +115 -0
  65. package/data/commands/make.json +86 -0
  66. package/data/commands/mocha.json +75 -0
  67. package/data/commands/mongosh.json +73 -0
  68. package/data/commands/mv.json +68 -0
  69. package/data/commands/mvn.json +45 -0
  70. package/data/commands/mysql.json +81 -0
  71. package/data/commands/nest.json +69 -0
  72. package/data/commands/netlify.json +92 -0
  73. package/data/commands/next.json +71 -0
  74. package/data/commands/nft.json +105 -0
  75. package/data/commands/nginx.json +146 -0
  76. package/data/commands/nmap.json +92 -0
  77. package/data/commands/node.json +43 -0
  78. package/data/commands/nomad.json +139 -0
  79. package/data/commands/npm.json +1265 -0
  80. package/data/commands/npx.json +58 -0
  81. package/data/commands/nx.json +82 -0
  82. package/data/commands/openssl.json +288 -0
  83. package/data/commands/packer.json +92 -0
  84. package/data/commands/pacman.json +82 -0
  85. package/data/commands/pg_dump.json +83 -0
  86. package/data/commands/pg_restore.json +74 -0
  87. package/data/commands/pip.json +95 -0
  88. package/data/commands/pipenv.json +79 -0
  89. package/data/commands/pipx.json +53 -0
  90. package/data/commands/playwright.json +97 -0
  91. package/data/commands/pnpm.json +29 -0
  92. package/data/commands/poetry.json +96 -0
  93. package/data/commands/prettier.json +71 -0
  94. package/data/commands/ps.json +31 -0
  95. package/data/commands/psql.json +124 -0
  96. package/data/commands/pulumi.json +130 -0
  97. package/data/commands/pytest.json +92 -0
  98. package/data/commands/python.json +30 -0
  99. package/data/commands/railway.json +91 -0
  100. package/data/commands/redis-cli.json +148 -0
  101. package/data/commands/render.json +72 -0
  102. package/data/commands/rm.json +79 -0
  103. package/data/commands/rsync.json +36 -0
  104. package/data/commands/rust.json +35 -0
  105. package/data/commands/rustup.json +103 -0
  106. package/data/commands/scp.json +60 -0
  107. package/data/commands/sed.json +28 -0
  108. package/data/commands/sqlite3.json +68 -0
  109. package/data/commands/ssh-keygen.json +112 -0
  110. package/data/commands/ssh.json +37 -0
  111. package/data/commands/sudo.json +147 -0
  112. package/data/commands/supabase.json +108 -0
  113. package/data/commands/svn.json +75 -0
  114. package/data/commands/systemctl.json +31 -0
  115. package/data/commands/tar.json +35 -0
  116. package/data/commands/tcpdump.json +77 -0
  117. package/data/commands/terraform.json +824 -0
  118. package/data/commands/terragrunt.json +83 -0
  119. package/data/commands/tsc.json +85 -0
  120. package/data/commands/turbo.json +72 -0
  121. package/data/commands/ufw.json +76 -0
  122. package/data/commands/unzip.json +59 -0
  123. package/data/commands/uvicorn.json +73 -0
  124. package/data/commands/vault.json +144 -0
  125. package/data/commands/vercel.json +98 -0
  126. package/data/commands/vite.json +63 -0
  127. package/data/commands/vitest.json +88 -0
  128. package/data/commands/wasm-pack.json +90 -0
  129. package/data/commands/wget.json +38 -0
  130. package/data/commands/winget.json +131 -0
  131. package/data/commands/wireshark.json +81 -0
  132. package/data/commands/yarn.json +28 -0
  133. package/data/commands/yum.json +98 -0
  134. package/data/commands/zip.json +59 -0
  135. package/index.d.ts +131 -0
  136. package/index.js +189 -0
  137. package/index.mjs +21 -0
  138. package/package.json +64 -0
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "pg_dump",
3
+ "description": "PostgreSQL database backup/dump utility",
4
+ "category": "Database",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "powershell", "fish"],
7
+ "subcommands": [],
8
+ "globalOptions": [
9
+ { "name": "--host", "shorthand": "-h", "description": "Database server host", "takesValue": true },
10
+ { "name": "--port", "shorthand": "-p", "description": "Database server port", "takesValue": true },
11
+ { "name": "--username", "shorthand": "-U", "description": "Database user", "takesValue": true },
12
+ { "name": "--dbname", "shorthand": "-d", "description": "Database name", "takesValue": true },
13
+ { "name": "--password", "shorthand": "-W", "description": "Prompt for password" },
14
+ { "name": "--no-password", "shorthand": "-w", "description": "Never prompt for password" },
15
+ { "name": "--format", "shorthand": "-F", "description": "Output format (p=plain, c=custom, d=directory, t=tar)", "takesValue": true },
16
+ { "name": "--file", "shorthand": "-f", "description": "Output file or directory", "takesValue": true },
17
+ { "name": "--schema", "shorthand": "-n", "description": "Dump specific schema(s)", "takesValue": true },
18
+ { "name": "--exclude-schema", "shorthand": "-N", "description": "Exclude schema(s)", "takesValue": true },
19
+ { "name": "--table", "shorthand": "-t", "description": "Dump specific table(s)", "takesValue": true },
20
+ { "name": "--exclude-table", "shorthand": "-T", "description": "Exclude table(s)", "takesValue": true },
21
+ { "name": "--data-only", "shorthand": "-a", "description": "Dump only data, no schema" },
22
+ { "name": "--schema-only", "shorthand": "-s", "description": "Dump only schema, no data" },
23
+ { "name": "--clean", "shorthand": "-c", "description": "Add DROP commands before CREATE" },
24
+ { "name": "--create", "shorthand": "-C", "description": "Include CREATE DATABASE" },
25
+ { "name": "--if-exists", "description": "Use IF EXISTS with DROP" },
26
+ { "name": "--inserts", "description": "Use INSERT instead of COPY" },
27
+ { "name": "--column-inserts", "description": "Use INSERT with column names" },
28
+ { "name": "--no-owner", "shorthand": "-O", "description": "Skip ownership" },
29
+ { "name": "--no-privileges", "shorthand": "-x", "description": "Skip privileges" },
30
+ { "name": "--compress", "shorthand": "-Z", "description": "Compression level (0-9)", "takesValue": true },
31
+ { "name": "--jobs", "shorthand": "-j", "description": "Parallel dump jobs", "takesValue": true },
32
+ { "name": "--verbose", "shorthand": "-v", "description": "Verbose mode" },
33
+ { "name": "--no-comments", "description": "Don't dump comments" },
34
+ { "name": "--encoding", "shorthand": "-E", "description": "Character encoding", "takesValue": true },
35
+ { "name": "--section", "description": "Dump section (pre-data, data, post-data)", "takesValue": true }
36
+ ],
37
+ "examples": [
38
+ { "command": "pg_dump mydb > backup.sql", "description": "Plain text dump" },
39
+ { "command": "pg_dump -Fc mydb > backup.dump", "description": "Custom format dump" },
40
+ { "command": "pg_dump -Fd mydb -j 4 -f backup_dir", "description": "Parallel directory dump" },
41
+ { "command": "pg_dump -t users mydb > users.sql", "description": "Dump single table" },
42
+ { "command": "pg_dump -s mydb > schema.sql", "description": "Schema only" },
43
+ { "command": "pg_dump -h localhost -U admin -d mydb -Fc -f backup.dump", "description": "Full params dump" },
44
+ { "command": "pg_dump --clean --if-exists mydb > backup.sql", "description": "Dump with DROP IF EXISTS" }
45
+ ],
46
+ "relatedCommands": ["pg_restore", "psql"],
47
+ "contextEngine": {
48
+ "detectors": [
49
+ {
50
+ "name": "databases",
51
+ "description": "Available databases",
52
+ "command": "psql -l -t 2>/dev/null | awk -F'|' '{print $1}' | sed 's/^ *//' | grep -v '^$' | head -20",
53
+ "parser": "lines",
54
+ "cacheFor": 30,
55
+ "requiresCmd": "psql"
56
+ },
57
+ {
58
+ "name": "schemas",
59
+ "description": "Schemas in connected db",
60
+ "command": "psql -t -c \"SELECT schema_name FROM information_schema.schemata WHERE schema_name NOT IN ('pg_catalog','information_schema')\" 2>/dev/null",
61
+ "parser": "lines",
62
+ "cacheFor": 60,
63
+ "requiresCmd": "psql"
64
+ },
65
+ {
66
+ "name": "tables",
67
+ "description": "Tables in public schema",
68
+ "command": "psql -t -c \"SELECT tablename FROM pg_tables WHERE schemaname='public'\" 2>/dev/null | head -30",
69
+ "parser": "lines",
70
+ "cacheFor": 30,
71
+ "requiresCmd": "psql"
72
+ },
73
+ {
74
+ "name": "pg_version",
75
+ "description": "PostgreSQL version",
76
+ "command": "pg_dump --version 2>/dev/null",
77
+ "parser": "text",
78
+ "cacheFor": 300,
79
+ "requiresCmd": "pg_dump"
80
+ }
81
+ ]
82
+ }
83
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "pg_restore",
3
+ "description": "Restore a PostgreSQL database from a pg_dump archive",
4
+ "category": "Database",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "powershell", "fish"],
7
+ "subcommands": [],
8
+ "globalOptions": [
9
+ { "name": "--host", "shorthand": "-h", "description": "Database server host", "takesValue": true },
10
+ { "name": "--port", "shorthand": "-p", "description": "Database server port", "takesValue": true },
11
+ { "name": "--username", "shorthand": "-U", "description": "Database user", "takesValue": true },
12
+ { "name": "--dbname", "shorthand": "-d", "description": "Target database", "takesValue": true },
13
+ { "name": "--password", "shorthand": "-W", "description": "Prompt for password" },
14
+ { "name": "--no-password", "shorthand": "-w", "description": "Never prompt for password" },
15
+ { "name": "--format", "shorthand": "-F", "description": "Archive format (c=custom, d=directory, t=tar)", "takesValue": true },
16
+ { "name": "--clean", "shorthand": "-c", "description": "Drop objects before creating" },
17
+ { "name": "--create", "shorthand": "-C", "description": "Create the database" },
18
+ { "name": "--data-only", "shorthand": "-a", "description": "Restore only data" },
19
+ { "name": "--schema-only", "shorthand": "-s", "description": "Restore only schema" },
20
+ { "name": "--table", "shorthand": "-t", "description": "Restore specific table", "takesValue": true },
21
+ { "name": "--schema", "shorthand": "-n", "description": "Restore specific schema", "takesValue": true },
22
+ { "name": "--index", "shorthand": "-I", "description": "Restore specific index", "takesValue": true },
23
+ { "name": "--function", "shorthand": "-P", "description": "Restore specific function", "takesValue": true },
24
+ { "name": "--trigger", "shorthand": "-T", "description": "Restore specific trigger", "takesValue": true },
25
+ { "name": "--no-owner", "shorthand": "-O", "description": "Skip ownership" },
26
+ { "name": "--no-privileges", "shorthand": "-x", "description": "Skip privileges" },
27
+ { "name": "--no-tablespaces", "description": "Skip tablespace assignments" },
28
+ { "name": "--single-transaction", "description": "Restore as single transaction" },
29
+ { "name": "--jobs", "shorthand": "-j", "description": "Parallel restore jobs", "takesValue": true },
30
+ { "name": "--list", "shorthand": "-l", "description": "List archive contents" },
31
+ { "name": "--use-list", "shorthand": "-L", "description": "Restore using TOC list file", "takesValue": true },
32
+ { "name": "--if-exists", "description": "Use IF EXISTS with DROP" },
33
+ { "name": "--exit-on-error", "shorthand": "-e", "description": "Exit on error" },
34
+ { "name": "--verbose", "shorthand": "-v", "description": "Verbose mode" },
35
+ { "name": "--section", "description": "Section to restore (pre-data, data, post-data)", "takesValue": true }
36
+ ],
37
+ "examples": [
38
+ { "command": "pg_restore -d mydb backup.dump", "description": "Restore custom format dump" },
39
+ { "command": "pg_restore -Fd -j 4 -d mydb backup_dir/", "description": "Parallel directory restore" },
40
+ { "command": "pg_restore -l backup.dump", "description": "List archive contents" },
41
+ { "command": "pg_restore -c --if-exists -d mydb backup.dump", "description": "Clean restore" },
42
+ { "command": "pg_restore -t users -d mydb backup.dump", "description": "Restore single table" },
43
+ { "command": "pg_restore -s -d mydb backup.dump", "description": "Restore schema only" },
44
+ { "command": "pg_restore --single-transaction -d mydb backup.dump", "description": "Transactional restore" }
45
+ ],
46
+ "relatedCommands": ["pg_dump", "psql"],
47
+ "contextEngine": {
48
+ "detectors": [
49
+ {
50
+ "name": "dump_files",
51
+ "description": "Available dump files",
52
+ "command": "ls -la *.dump *.sql *.tar *.backup 2>/dev/null | head -10",
53
+ "parser": "lines",
54
+ "cacheFor": 15
55
+ },
56
+ {
57
+ "name": "databases",
58
+ "description": "Available databases",
59
+ "command": "psql -l -t 2>/dev/null | awk -F'|' '{print $1}' | sed 's/^ *//' | grep -v '^$' | head -20",
60
+ "parser": "lines",
61
+ "cacheFor": 30,
62
+ "requiresCmd": "psql"
63
+ },
64
+ {
65
+ "name": "archive_contents",
66
+ "description": "Contents of most recent dump",
67
+ "command": "pg_restore -l $(ls -t *.dump 2>/dev/null | head -1) 2>/dev/null | head -20",
68
+ "parser": "lines",
69
+ "cacheFor": 30,
70
+ "requiresCmd": "pg_restore"
71
+ }
72
+ ]
73
+ }
74
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "name": "pip",
3
+ "description": "Python package installer",
4
+ "category": "package-manager",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "fish", "powershell"],
7
+ "subcommands": [
8
+ {
9
+ "name": "install",
10
+ "description": "Install packages",
11
+ "args": [{ "name": "<package>", "type": "string", "required": true, "description": "Package name or requirements file" }],
12
+ "options": [
13
+ { "name": "--requirement", "short": "-r", "description": "Install from requirements file", "type": "file" },
14
+ { "name": "--upgrade", "short": "-U", "description": "Upgrade package to latest" },
15
+ { "name": "--user", "description": "Install to user site-packages" },
16
+ { "name": "--no-cache-dir", "description": "Disable pip cache" },
17
+ { "name": "--pre", "description": "Include pre-release versions" },
18
+ { "name": "--editable", "short": "-e", "description": "Install in editable mode", "type": "path" },
19
+ { "name": "--target", "short": "-t", "description": "Install into directory", "type": "directory" },
20
+ { "name": "--force-reinstall", "description": "Reinstall all packages" }
21
+ ],
22
+ "examples": ["pip install requests", "pip install -r requirements.txt", "pip install -U pip", "pip install -e ."]
23
+ },
24
+ {
25
+ "name": "uninstall",
26
+ "description": "Uninstall packages",
27
+ "args": [{ "name": "<package>", "type": "string", "required": true, "description": "Package name" }],
28
+ "options": [
29
+ { "name": "--yes", "short": "-y", "description": "Don't ask for confirmation" }
30
+ ],
31
+ "examples": ["pip uninstall requests", "pip uninstall -y flask"]
32
+ },
33
+ {
34
+ "name": "freeze",
35
+ "description": "Output installed packages in requirements format",
36
+ "examples": ["pip freeze", "pip freeze > requirements.txt"]
37
+ },
38
+ {
39
+ "name": "list",
40
+ "description": "List installed packages",
41
+ "options": [
42
+ { "name": "--outdated", "short": "-o", "description": "List outdated packages" },
43
+ { "name": "--format", "description": "Output format (columns, freeze, json)", "type": "string" }
44
+ ],
45
+ "examples": ["pip list", "pip list --outdated", "pip list --format json"]
46
+ },
47
+ {
48
+ "name": "show",
49
+ "description": "Show information about installed packages",
50
+ "args": [{ "name": "<package>", "type": "string", "required": true, "description": "Package name" }],
51
+ "examples": ["pip show flask", "pip show requests"]
52
+ },
53
+ {
54
+ "name": "search",
55
+ "description": "Search PyPI for packages (deprecated on PyPI)",
56
+ "args": [{ "name": "<query>", "type": "string", "required": true, "description": "Search query" }],
57
+ "examples": ["pip search requests"]
58
+ },
59
+ {
60
+ "name": "download",
61
+ "description": "Download packages without installing",
62
+ "args": [{ "name": "<package>", "type": "string", "required": true, "description": "Package name" }],
63
+ "options": [
64
+ { "name": "--dest", "short": "-d", "description": "Download directory", "type": "directory" }
65
+ ],
66
+ "examples": ["pip download requests -d ./packages"]
67
+ },
68
+ {
69
+ "name": "check",
70
+ "description": "Verify installed packages have compatible dependencies",
71
+ "examples": ["pip check"]
72
+ },
73
+ {
74
+ "name": "cache purge",
75
+ "description": "Remove all items from the cache",
76
+ "examples": ["pip cache purge"]
77
+ }
78
+ ],
79
+ "globalOptions": [
80
+ { "name": "--version", "short": "-V", "description": "Show version" },
81
+ { "name": "--help", "short": "-h", "description": "Show help" },
82
+ { "name": "--verbose", "short": "-v", "description": "Verbose output" },
83
+ { "name": "--quiet", "short": "-q", "description": "Quiet output" },
84
+ { "name": "--proxy", "description": "Use proxy", "type": "url" },
85
+ { "name": "--trusted-host", "description": "Mark host as trusted", "type": "string" },
86
+ { "name": "--index-url", "short": "-i", "description": "Base URL of Python package index", "type": "url" }
87
+ ],
88
+ "examples": [
89
+ "pip install flask",
90
+ "pip install -r requirements.txt",
91
+ "pip freeze > requirements.txt",
92
+ "pip list --outdated"
93
+ ],
94
+ "relatedCommands": ["python", "pipx", "poetry", "conda", "virtualenv"]
95
+ }
@@ -0,0 +1,79 @@
1
+ {
2
+ "name": "pipenv",
3
+ "description": "Python development workflow tool combining pip and virtualenv",
4
+ "category": "Python Ecosystem",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "powershell", "fish"],
7
+ "subcommands": [
8
+ { "name": "install", "description": "Install packages or from Pipfile", "args": [{ "name": "packages", "description": "Packages to install", "required": false }], "options": [{ "name": "--dev", "shorthand": "-d", "description": "Install dev dependencies" }, { "name": "--system", "description": "Use system pip" }, { "name": "--deploy", "description": "Abort if Pipfile.lock is outdated" }, { "name": "--ignore-pipfile", "description": "Install from Pipfile.lock only" }, { "name": "--skip-lock", "description": "Skip locking" }, { "name": "--python", "description": "Python version", "takesValue": true }, { "name": "--categories", "description": "Package categories", "takesValue": true }] },
9
+ { "name": "uninstall", "description": "Uninstall packages", "args": [{ "name": "packages", "description": "Packages to remove", "required": true }], "options": [{ "name": "--all", "description": "Remove all packages" }, { "name": "--all-dev", "description": "Remove all dev packages" }] },
10
+ { "name": "update", "description": "Update packages", "args": [{ "name": "packages", "description": "Packages to update", "required": false }], "options": [{ "name": "--dry-run", "description": "Preview changes" }] },
11
+ { "name": "lock", "description": "Generate Pipfile.lock" },
12
+ { "name": "sync", "description": "Install packages from Pipfile.lock", "options": [{ "name": "--dev", "shorthand": "-d", "description": "Include dev packages" }] },
13
+ { "name": "shell", "description": "Spawn a shell in the virtualenv" },
14
+ { "name": "run", "description": "Run command in virtualenv", "args": [{ "name": "command", "description": "Command to run", "required": true }] },
15
+ { "name": "graph", "description": "Show dependency graph", "options": [{ "name": "--json", "description": "JSON output" }, { "name": "--reverse", "shorthand": "-r", "description": "Reverse dependencies" }] },
16
+ { "name": "check", "description": "Check for security vulnerabilities" },
17
+ { "name": "clean", "description": "Uninstall packages not in Pipfile.lock", "options": [{ "name": "--dry-run", "description": "Preview changes" }] },
18
+ { "name": "requirements", "description": "Generate requirements.txt", "options": [{ "name": "--dev", "shorthand": "-d", "description": "Include dev packages" }] },
19
+ { "name": "scripts", "description": "List scripts from Pipfile" },
20
+ { "name": "open", "description": "Open a package in editor", "args": [{ "name": "package", "description": "Package name", "required": true }] },
21
+ { "name": "verify", "description": "Verify the hash of Pipfile.lock" }
22
+ ],
23
+ "globalOptions": [
24
+ { "name": "--where", "description": "Show project directory" },
25
+ { "name": "--venv", "description": "Show virtualenv path" },
26
+ { "name": "--py", "description": "Show Python interpreter path" },
27
+ { "name": "--envs", "description": "Show environment variables" },
28
+ { "name": "--rm", "description": "Remove the virtualenv" },
29
+ { "name": "--python", "description": "Python version", "takesValue": true },
30
+ { "name": "--verbose", "shorthand": "-v", "description": "Verbose output" },
31
+ { "name": "--help", "shorthand": "-h", "description": "Show help" },
32
+ { "name": "--version", "description": "Show version" }
33
+ ],
34
+ "examples": [
35
+ { "command": "pipenv install", "description": "Install all dependencies" },
36
+ { "command": "pipenv install requests", "description": "Install a package" },
37
+ { "command": "pipenv install --dev pytest", "description": "Install dev dependency" },
38
+ { "command": "pipenv run python main.py", "description": "Run in virtualenv" },
39
+ { "command": "pipenv shell", "description": "Activate virtualenv" },
40
+ { "command": "pipenv graph", "description": "Show dependency graph" },
41
+ { "command": "pipenv check", "description": "Check for vulnerabilities" }
42
+ ],
43
+ "relatedCommands": ["pip", "poetry", "python"],
44
+ "contextEngine": {
45
+ "detectors": [
46
+ {
47
+ "name": "pipfile",
48
+ "description": "Pipfile contents",
49
+ "command": "cat Pipfile 2>/dev/null",
50
+ "parser": "text",
51
+ "cacheFor": 30
52
+ },
53
+ {
54
+ "name": "venv_path",
55
+ "description": "Virtual environment path",
56
+ "command": "pipenv --venv 2>/dev/null",
57
+ "parser": "text",
58
+ "cacheFor": 120,
59
+ "requiresCmd": "pipenv"
60
+ },
61
+ {
62
+ "name": "scripts",
63
+ "description": "Defined scripts",
64
+ "command": "pipenv scripts 2>/dev/null",
65
+ "parser": "lines",
66
+ "cacheFor": 30,
67
+ "requiresCmd": "pipenv"
68
+ },
69
+ {
70
+ "name": "dependency_graph",
71
+ "description": "Dependency relationships",
72
+ "command": "pipenv graph 2>/dev/null | head -30",
73
+ "parser": "text",
74
+ "cacheFor": 120,
75
+ "requiresCmd": "pipenv"
76
+ }
77
+ ]
78
+ }
79
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "pipx",
3
+ "description": "Install and run Python applications in isolated environments",
4
+ "category": "Python Ecosystem",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "powershell", "fish"],
7
+ "subcommands": [
8
+ { "name": "install", "description": "Install a package", "args": [{ "name": "package", "description": "Package to install", "required": true }], "options": [{ "name": "--include-deps", "description": "Include app deps" }, { "name": "--force", "shorthand": "-f", "description": "Force reinstall" }, { "name": "--suffix", "description": "Suffix for command names", "takesValue": true }, { "name": "--python", "description": "Python interpreter", "takesValue": true }, { "name": "--pip-args", "description": "Extra pip args", "takesValue": true }] },
9
+ { "name": "uninstall", "description": "Uninstall a package", "args": [{ "name": "package", "description": "Package to uninstall", "required": true }] },
10
+ { "name": "uninstall-all", "description": "Uninstall all packages" },
11
+ { "name": "reinstall", "description": "Reinstall a package", "args": [{ "name": "package", "description": "Package to reinstall", "required": true }] },
12
+ { "name": "reinstall-all", "description": "Reinstall all packages", "options": [{ "name": "--python", "description": "Python interpreter", "takesValue": true }] },
13
+ { "name": "inject", "description": "Install extra packages into an app's venv", "args": [{ "name": "package", "description": "App to inject into", "required": true }, { "name": "dependencies", "description": "Packages to inject", "required": true }] },
14
+ { "name": "upgrade", "description": "Upgrade a package", "args": [{ "name": "package", "description": "Package to upgrade", "required": true }], "options": [{ "name": "--include-injected", "description": "Also upgrade injected packages" }] },
15
+ { "name": "upgrade-all", "description": "Upgrade all packages", "options": [{ "name": "--include-injected", "description": "Also upgrade injected packages" }] },
16
+ { "name": "list", "description": "List installed packages", "options": [{ "name": "--short", "description": "Short format" }, { "name": "--json", "description": "JSON output" }] },
17
+ { "name": "run", "description": "Run a package without installing", "args": [{ "name": "package", "description": "Package to run", "required": true }], "options": [{ "name": "--spec", "description": "Package spec", "takesValue": true }, { "name": "--python", "description": "Python interpreter", "takesValue": true }] },
18
+ { "name": "ensurepath", "description": "Ensure pipx paths are in PATH" },
19
+ { "name": "environment", "description": "Show pipx environment info" }
20
+ ],
21
+ "globalOptions": [
22
+ { "name": "--verbose", "description": "Verbose output" },
23
+ { "name": "--help", "shorthand": "-h", "description": "Show help" },
24
+ { "name": "--version", "description": "Show version" }
25
+ ],
26
+ "examples": [
27
+ { "command": "pipx install black", "description": "Install black formatter" },
28
+ { "command": "pipx run cowsay hello", "description": "Run cowsay without installing" },
29
+ { "command": "pipx list", "description": "List installed packages" },
30
+ { "command": "pipx upgrade-all", "description": "Upgrade all packages" },
31
+ { "command": "pipx inject poetry poetry-plugin-export", "description": "Inject plugin into poetry venv" }
32
+ ],
33
+ "relatedCommands": ["pip", "python", "poetry"],
34
+ "contextEngine": {
35
+ "detectors": [
36
+ {
37
+ "name": "installed_packages",
38
+ "description": "Packages installed via pipx",
39
+ "command": "pipx list --short 2>/dev/null",
40
+ "parser": "lines",
41
+ "cacheFor": 120,
42
+ "requiresCmd": "pipx"
43
+ },
44
+ {
45
+ "name": "python_version",
46
+ "description": "Default Python version",
47
+ "command": "python3 --version 2>/dev/null || python --version 2>/dev/null",
48
+ "parser": "text",
49
+ "cacheFor": 300
50
+ }
51
+ ]
52
+ }
53
+ }
@@ -0,0 +1,97 @@
1
+ {
2
+ "name": "playwright",
3
+ "description": "Playwright end-to-end testing and browser automation framework",
4
+ "category": "Testing Tools",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "powershell", "fish"],
7
+ "subcommands": [
8
+ { "name": "test", "description": "Run tests", "options": [
9
+ { "name": "--project", "description": "Run specific project", "takesValue": true },
10
+ { "name": "--grep", "shorthand": "-g", "description": "Filter by title regex", "takesValue": true },
11
+ { "name": "--grep-invert", "description": "Invert grep filter", "takesValue": true },
12
+ { "name": "--headed", "description": "Run in headed browser mode" },
13
+ { "name": "--debug", "description": "Debug mode with inspector" },
14
+ { "name": "--ui", "description": "Open Playwright UI mode" },
15
+ { "name": "--workers", "shorthand": "-j", "description": "Max parallel workers", "takesValue": true },
16
+ { "name": "--retries", "description": "Retry failed tests", "takesValue": true },
17
+ { "name": "--timeout", "description": "Test timeout (ms)", "takesValue": true },
18
+ { "name": "--reporter", "description": "Reporter (list, dot, line, json, junit, html)", "takesValue": true },
19
+ { "name": "--output", "description": "Output directory for artifacts", "takesValue": true },
20
+ { "name": "--config", "shorthand": "-c", "description": "Config file", "takesValue": true },
21
+ { "name": "--shard", "description": "Shard (current/total)", "takesValue": true },
22
+ { "name": "--update-snapshots", "shorthand": "-u", "description": "Update snapshots" },
23
+ { "name": "--repeat-each", "description": "Run each test N times", "takesValue": true },
24
+ { "name": "--fully-parallel", "description": "Run all tests in parallel" },
25
+ { "name": "--forbid-only", "description": "Fail on test.only" },
26
+ { "name": "--pass-with-no-tests", "description": "Pass with no tests" },
27
+ { "name": "--trace", "description": "Capture trace (on, off, retain-on-failure)", "takesValue": true },
28
+ { "name": "--last-failed", "description": "Rerun only failed tests" },
29
+ { "name": "--list", "description": "List all tests" }
30
+ ]},
31
+ { "name": "show-report", "description": "Show HTML report", "args": [{ "name": "path", "description": "Report path", "required": false }] },
32
+ { "name": "codegen", "description": "Generate test code by recording actions", "args": [{ "name": "url", "description": "URL to open", "required": false }], "options": [
33
+ { "name": "--target", "description": "Language (javascript, python, java, csharp)", "takesValue": true },
34
+ { "name": "--output", "shorthand": "-o", "description": "Output file", "takesValue": true },
35
+ { "name": "--browser", "shorthand": "-b", "description": "Browser (chromium, firefox, webkit)", "takesValue": true }
36
+ ]},
37
+ { "name": "open", "description": "Open browser for inspection", "args": [{ "name": "url", "description": "URL to open", "required": false }] },
38
+ { "name": "install", "description": "Install browsers", "args": [{ "name": "browser", "description": "Specific browser", "required": false }], "options": [
39
+ { "name": "--with-deps", "description": "Install OS dependencies" },
40
+ { "name": "--force", "description": "Force reinstall" }
41
+ ]},
42
+ { "name": "screenshot", "description": "Take a screenshot", "args": [{ "name": "url", "description": "URL", "required": true }, { "name": "filename", "description": "Output file", "required": true }] },
43
+ { "name": "pdf", "description": "Save page as PDF" },
44
+ { "name": "clear-cache", "description": "Clear browser cache" }
45
+ ],
46
+ "globalOptions": [
47
+ { "name": "--browser", "description": "Browser (chromium, firefox, webkit, all)", "takesValue": true },
48
+ { "name": "--help", "shorthand": "-h", "description": "Show help" },
49
+ { "name": "--version", "shorthand": "-V", "description": "Show version" }
50
+ ],
51
+ "examples": [
52
+ { "command": "npx playwright test", "description": "Run all tests" },
53
+ { "command": "npx playwright test --ui", "description": "Open UI mode" },
54
+ { "command": "npx playwright test --headed", "description": "Run with visible browsers" },
55
+ { "command": "npx playwright test --project chromium", "description": "Run only Chromium" },
56
+ { "command": "npx playwright test -g 'login'", "description": "Filter by title" },
57
+ { "command": "npx playwright codegen example.com", "description": "Record test" },
58
+ { "command": "npx playwright show-report", "description": "Open HTML report" },
59
+ { "command": "npx playwright test --debug", "description": "Debug mode" },
60
+ { "command": "npx playwright install --with-deps", "description": "Install browsers + deps" },
61
+ { "command": "npx playwright test --shard 1/3", "description": "Run first shard" }
62
+ ],
63
+ "relatedCommands": ["cypress", "jest"],
64
+ "contextEngine": {
65
+ "detectors": [
66
+ {
67
+ "name": "config",
68
+ "description": "Playwright configuration",
69
+ "command": "cat playwright.config.ts 2>/dev/null || cat playwright.config.js 2>/dev/null | head -30",
70
+ "parser": "text",
71
+ "cacheFor": 60
72
+ },
73
+ {
74
+ "name": "test_files",
75
+ "description": "Test files",
76
+ "command": "find . -name '*.spec.*' -o -name '*.test.*' 2>/dev/null | grep -v node_modules | head -20",
77
+ "parser": "lines",
78
+ "cacheFor": 30
79
+ },
80
+ {
81
+ "name": "browsers",
82
+ "description": "Installed browsers",
83
+ "command": "npx playwright install --dry-run 2>/dev/null | head -10",
84
+ "parser": "lines",
85
+ "cacheFor": 120,
86
+ "requiresCmd": "npx"
87
+ },
88
+ {
89
+ "name": "projects",
90
+ "description": "Configured projects",
91
+ "command": "grep -A2 'name:' playwright.config.ts 2>/dev/null | head -15",
92
+ "parser": "text",
93
+ "cacheFor": 60
94
+ }
95
+ ]
96
+ }
97
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "pnpm",
3
+ "description": "Fast, disk space efficient package manager",
4
+ "category": "package-manager",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "fish", "powershell"],
7
+ "subcommands": [
8
+ { "name": "init", "description": "Create package.json", "examples": ["pnpm init"] },
9
+ { "name": "add", "description": "Install a package", "args": [{ "name": "<package>", "type": "string", "required": true, "description": "Package name" }], "options": [{ "name": "--save-dev", "short": "-D", "description": "Add to devDependencies" }, { "name": "--global", "short": "-g", "description": "Install globally" }, { "name": "--save-exact", "short": "-E", "description": "Save exact version" }], "examples": ["pnpm add express", "pnpm add -D typescript", "pnpm add -g nodemon"] },
10
+ { "name": "remove", "description": "Remove a package", "args": [{ "name": "<package>", "type": "string", "required": true, "description": "Package name" }], "examples": ["pnpm remove lodash"] },
11
+ { "name": "install", "description": "Install all dependencies", "options": [{ "name": "--frozen-lockfile", "description": "Fail if lockfile needs update" }, { "name": "--prod", "description": "Only production dependencies" }], "examples": ["pnpm install", "pnpm install --frozen-lockfile"] },
12
+ { "name": "run", "description": "Run a script", "args": [{ "name": "<script>", "type": "string", "required": true, "description": "Script name" }], "examples": ["pnpm run build", "pnpm run dev"] },
13
+ { "name": "exec", "description": "Execute a command in project scope", "args": [{ "name": "<command>", "type": "string", "required": true, "description": "Command" }], "examples": ["pnpm exec tsc --version"] },
14
+ { "name": "dlx", "description": "Run a package without installing", "args": [{ "name": "<command>", "type": "string", "required": true, "description": "Command to run" }], "examples": ["pnpm dlx create-react-app myapp"] },
15
+ { "name": "update", "description": "Update packages", "options": [{ "name": "--latest", "short": "-L", "description": "Update to latest" }], "examples": ["pnpm update", "pnpm update --latest"] },
16
+ { "name": "outdated", "description": "Check for outdated packages", "examples": ["pnpm outdated"] },
17
+ { "name": "store prune", "description": "Remove unreferenced packages from store", "examples": ["pnpm store prune"] },
18
+ { "name": "list", "description": "List packages", "options": [{ "name": "--depth", "description": "Depth", "type": "number" }], "examples": ["pnpm list", "pnpm list --depth 0"] },
19
+ { "name": "recursive", "description": "Run command in all workspace packages", "examples": ["pnpm -r run build"] }
20
+ ],
21
+ "globalOptions": [
22
+ { "name": "--help", "short": "-h", "description": "Show help" },
23
+ { "name": "--version", "short": "-v", "description": "Show version" },
24
+ { "name": "--filter", "description": "Filter packages in workspace", "type": "string" },
25
+ { "name": "--recursive", "short": "-r", "description": "Run in all packages" }
26
+ ],
27
+ "examples": ["pnpm add react react-dom", "pnpm install --frozen-lockfile", "pnpm run build"],
28
+ "relatedCommands": ["npm", "yarn", "npx", "node"]
29
+ }