@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,140 @@
1
+ {
2
+ "name": "aws-vault",
3
+ "description": "A vault for securely storing and accessing AWS credentials in development environments",
4
+ "category": "Cloud CLIs",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "powershell", "fish"],
7
+ "subcommands": [
8
+ {
9
+ "name": "exec",
10
+ "description": "Execute a command with AWS credentials",
11
+ "args": [
12
+ { "name": "profile", "description": "AWS profile name to use", "required": true },
13
+ { "name": "command", "description": "Command to execute", "required": false }
14
+ ],
15
+ "options": [
16
+ { "name": "--duration", "shorthand": "-d", "description": "Duration of the temporary credentials", "takesValue": true },
17
+ { "name": "--no-session", "description": "Use master credentials without session token" },
18
+ { "name": "--json", "shorthand": "-j", "description": "Output credentials as JSON" },
19
+ { "name": "--server", "description": "Run a credential server" },
20
+ { "name": "--region", "description": "Override the AWS region", "takesValue": true },
21
+ { "name": "--mfa-token", "shorthand": "-t", "description": "The MFA token to use", "takesValue": true }
22
+ ]
23
+ },
24
+ {
25
+ "name": "add",
26
+ "description": "Add credentials to the vault",
27
+ "args": [
28
+ { "name": "profile", "description": "AWS profile name", "required": true }
29
+ ],
30
+ "options": [
31
+ { "name": "--env", "description": "Read credentials from environment variables" }
32
+ ]
33
+ },
34
+ {
35
+ "name": "list",
36
+ "description": "List profiles and credentials stored in the vault",
37
+ "options": [
38
+ { "name": "--profiles", "description": "Only list profile names" },
39
+ { "name": "--credentials", "description": "Only list credential names" }
40
+ ]
41
+ },
42
+ {
43
+ "name": "remove",
44
+ "description": "Remove credentials from the vault",
45
+ "args": [
46
+ { "name": "profile", "description": "AWS profile name to remove", "required": true }
47
+ ],
48
+ "options": [
49
+ { "name": "--sessions-only", "description": "Only remove sessions, keep credentials" }
50
+ ]
51
+ },
52
+ {
53
+ "name": "rotate",
54
+ "description": "Rotate credentials",
55
+ "args": [
56
+ { "name": "profile", "description": "AWS profile to rotate", "required": true }
57
+ ],
58
+ "options": [
59
+ { "name": "--no-session", "description": "Use master credentials without session token" }
60
+ ]
61
+ },
62
+ {
63
+ "name": "login",
64
+ "description": "Generate a login link for the AWS Console",
65
+ "args": [
66
+ { "name": "profile", "description": "AWS profile to login with", "required": true }
67
+ ],
68
+ "options": [
69
+ { "name": "--duration", "shorthand": "-d", "description": "Duration of the console session", "takesValue": true },
70
+ { "name": "--stdout", "description": "Print login URL to stdout instead of opening browser" }
71
+ ]
72
+ },
73
+ {
74
+ "name": "export",
75
+ "description": "Export credentials as environment variables",
76
+ "args": [
77
+ { "name": "profile", "description": "AWS profile to export", "required": true }
78
+ ],
79
+ "options": [
80
+ { "name": "--format", "shorthand": "-f", "description": "Output format (env, json, ini)", "takesValue": true }
81
+ ]
82
+ },
83
+ {
84
+ "name": "clear",
85
+ "description": "Clear temporary credentials from the session keyring",
86
+ "args": [
87
+ { "name": "profile", "description": "Profile to clear sessions for", "required": false }
88
+ ]
89
+ }
90
+ ],
91
+ "globalOptions": [
92
+ { "name": "--backend", "description": "Secret backend to use (keychain, kwallet, secret-service, file)", "takesValue": true },
93
+ { "name": "--debug", "description": "Enable debug logging" },
94
+ { "name": "--help", "shorthand": "-h", "description": "Show help" },
95
+ { "name": "--version", "shorthand": "-v", "description": "Show version" }
96
+ ],
97
+ "examples": [
98
+ { "command": "aws-vault exec production -- aws s3 ls", "description": "Run aws s3 ls with production credentials" },
99
+ { "command": "aws-vault add myprofile", "description": "Add new credentials for myprofile" },
100
+ { "command": "aws-vault list", "description": "List all stored profiles" },
101
+ { "command": "aws-vault login staging", "description": "Open AWS console for staging profile" },
102
+ { "command": "aws-vault exec dev --duration=2h -- terraform plan", "description": "Run terraform with 2-hour session" }
103
+ ],
104
+ "relatedCommands": ["aws", "terraform"],
105
+ "contextEngine": {
106
+ "detectors": [
107
+ {
108
+ "name": "profiles",
109
+ "description": "List configured AWS vault profiles",
110
+ "command": "aws-vault list --profiles 2>/dev/null",
111
+ "parser": "lines",
112
+ "cacheFor": 60,
113
+ "requiresCmd": "aws-vault"
114
+ },
115
+ {
116
+ "name": "credentials",
117
+ "description": "List stored credentials and sessions",
118
+ "command": "aws-vault list 2>/dev/null",
119
+ "parser": "text",
120
+ "cacheFor": 60,
121
+ "requiresCmd": "aws-vault"
122
+ },
123
+ {
124
+ "name": "aws_config_profiles",
125
+ "description": "Profiles from AWS config file",
126
+ "command": "grep '\\[profile' ~/.aws/config 2>/dev/null | sed 's/\\[profile //' | sed 's/\\]//'",
127
+ "parser": "lines",
128
+ "cacheFor": 120
129
+ },
130
+ {
131
+ "name": "backend",
132
+ "description": "Detect the keychain backend in use",
133
+ "command": "aws-vault --help 2>&1 | grep -i backend",
134
+ "parser": "text",
135
+ "cacheFor": 300,
136
+ "requiresCmd": "aws-vault"
137
+ }
138
+ ]
139
+ }
140
+ }
@@ -0,0 +1,229 @@
1
+ {
2
+ "name": "aws",
3
+ "description": "Amazon Web Services CLI — manage AWS services from the command line",
4
+ "category": "cloud",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "fish", "powershell"],
7
+ "subcommands": [
8
+ {
9
+ "name": "s3",
10
+ "description": "Manage Amazon S3 buckets and objects",
11
+ "options": [],
12
+ "examples": ["aws s3 ls", "aws s3 cp file.txt s3://mybucket/", "aws s3 sync . s3://mybucket/", "aws s3 mb s3://newbucket", "aws s3 rb s3://oldbucket --force", "aws s3 rm s3://mybucket/file.txt", "aws s3 mv s3://mybucket/old.txt s3://mybucket/new.txt", "aws s3 presign s3://mybucket/file.txt --expires-in 3600"]
13
+ },
14
+ {
15
+ "name": "s3api",
16
+ "description": "Low-level S3 API commands",
17
+ "options": [
18
+ { "name": "--bucket", "description": "Bucket name", "type": "string" }
19
+ ],
20
+ "examples": ["aws s3api list-buckets", "aws s3api get-object --bucket mybucket --key file.txt output.txt", "aws s3api put-object --bucket mybucket --key file.txt --body file.txt"]
21
+ },
22
+ {
23
+ "name": "ec2",
24
+ "description": "Manage EC2 instances and resources",
25
+ "examples": ["aws ec2 describe-instances", "aws ec2 run-instances --image-id ami-xxx --instance-type t3.micro --key-name mykey", "aws ec2 stop-instances --instance-ids i-xxx", "aws ec2 start-instances --instance-ids i-xxx", "aws ec2 terminate-instances --instance-ids i-xxx", "aws ec2 describe-security-groups", "aws ec2 describe-vpcs", "aws ec2 describe-subnets", "aws ec2 create-key-pair --key-name mykey"]
26
+ },
27
+ {
28
+ "name": "ecs",
29
+ "description": "Manage Elastic Container Service",
30
+ "examples": ["aws ecs list-clusters", "aws ecs list-services --cluster mycluster", "aws ecs describe-services --cluster mycluster --services myservice", "aws ecs update-service --cluster mycluster --service myservice --desired-count 3", "aws ecs list-tasks --cluster mycluster", "aws ecs describe-tasks --cluster mycluster --tasks arn:xxx"]
31
+ },
32
+ {
33
+ "name": "eks",
34
+ "description": "Manage Elastic Kubernetes Service",
35
+ "examples": ["aws eks list-clusters", "aws eks describe-cluster --name mycluster", "aws eks update-kubeconfig --name mycluster", "aws eks list-nodegroups --cluster-name mycluster"]
36
+ },
37
+ {
38
+ "name": "lambda",
39
+ "description": "Manage Lambda functions",
40
+ "examples": ["aws lambda list-functions", "aws lambda invoke --function-name myfunc output.json", "aws lambda create-function --function-name myfunc --runtime nodejs20.x --handler index.handler --role arn:aws:iam::xxx:role/myrole --zip-file fileb://function.zip", "aws lambda update-function-code --function-name myfunc --zip-file fileb://function.zip", "aws lambda delete-function --function-name myfunc"]
41
+ },
42
+ {
43
+ "name": "iam",
44
+ "description": "Manage Identity and Access Management",
45
+ "examples": ["aws iam list-users", "aws iam list-roles", "aws iam create-user --user-name myuser", "aws iam attach-user-policy --user-name myuser --policy-arn arn:aws:iam::aws:policy/ReadOnlyAccess", "aws iam list-policies --scope Local", "aws iam get-role --role-name myrole", "aws iam create-role --role-name myrole --assume-role-policy-document file://trust.json"]
46
+ },
47
+ {
48
+ "name": "rds",
49
+ "description": "Manage Relational Database Service",
50
+ "examples": ["aws rds describe-db-instances", "aws rds create-db-instance --db-instance-identifier mydb --db-instance-class db.t3.micro --engine postgres --master-username admin --master-user-password secret", "aws rds delete-db-instance --db-instance-identifier mydb --skip-final-snapshot", "aws rds describe-db-clusters"]
51
+ },
52
+ {
53
+ "name": "cloudformation",
54
+ "description": "Manage CloudFormation stacks",
55
+ "examples": ["aws cloudformation list-stacks", "aws cloudformation create-stack --stack-name mystack --template-body file://template.yaml", "aws cloudformation update-stack --stack-name mystack --template-body file://template.yaml", "aws cloudformation delete-stack --stack-name mystack", "aws cloudformation describe-stack-events --stack-name mystack"]
56
+ },
57
+ {
58
+ "name": "ecr",
59
+ "description": "Manage Elastic Container Registry",
60
+ "examples": ["aws ecr get-login-password | docker login --username AWS --password-stdin <account>.dkr.ecr.<region>.amazonaws.com", "aws ecr describe-repositories", "aws ecr create-repository --repository-name myrepo", "aws ecr list-images --repository-name myrepo"]
61
+ },
62
+ {
63
+ "name": "sqs",
64
+ "description": "Manage Simple Queue Service",
65
+ "examples": ["aws sqs list-queues", "aws sqs create-queue --queue-name myqueue", "aws sqs send-message --queue-url <url> --message-body 'hello'", "aws sqs receive-message --queue-url <url>"]
66
+ },
67
+ {
68
+ "name": "sns",
69
+ "description": "Manage Simple Notification Service",
70
+ "examples": ["aws sns list-topics", "aws sns create-topic --name mytopic", "aws sns publish --topic-arn <arn> --message 'Hello!'", "aws sns subscribe --topic-arn <arn> --protocol email --notification-endpoint user@example.com"]
71
+ },
72
+ {
73
+ "name": "route53",
74
+ "description": "Manage Route 53 DNS",
75
+ "examples": ["aws route53 list-hosted-zones", "aws route53 list-resource-record-sets --hosted-zone-id Z1234", "aws route53 change-resource-record-sets --hosted-zone-id Z1234 --change-batch file://changes.json"]
76
+ },
77
+ {
78
+ "name": "dynamodb",
79
+ "description": "Manage DynamoDB tables",
80
+ "examples": ["aws dynamodb list-tables", "aws dynamodb describe-table --table-name mytable", "aws dynamodb scan --table-name mytable", "aws dynamodb put-item --table-name mytable --item file://item.json", "aws dynamodb query --table-name mytable --key-condition-expression 'pk = :pk' --expression-attribute-values '{\":pk\":{\"S\":\"abc\"}}'"]
81
+ },
82
+ {
83
+ "name": "ssm",
84
+ "description": "Systems Manager parameter store and sessions",
85
+ "examples": ["aws ssm get-parameter --name /my/param", "aws ssm put-parameter --name /my/param --value secret --type SecureString", "aws ssm get-parameters-by-path --path /my/ --recursive", "aws ssm start-session --target i-xxx"]
86
+ },
87
+ {
88
+ "name": "logs",
89
+ "description": "Manage CloudWatch Logs",
90
+ "examples": ["aws logs describe-log-groups", "aws logs tail /aws/lambda/myfunc --follow", "aws logs filter-log-events --log-group-name /aws/lambda/myfunc --filter-pattern ERROR"]
91
+ },
92
+ {
93
+ "name": "sts",
94
+ "description": "Security Token Service",
95
+ "examples": ["aws sts get-caller-identity", "aws sts assume-role --role-arn arn:aws:iam::xxx:role/myrole --role-session-name mysession"]
96
+ },
97
+ {
98
+ "name": "configure",
99
+ "description": "Configure AWS CLI credentials and settings",
100
+ "examples": ["aws configure", "aws configure list", "aws configure set region us-east-1", "aws configure get region", "aws configure list-profiles"]
101
+ }
102
+ ],
103
+ "globalOptions": [
104
+ { "name": "--region", "description": "AWS region", "type": "string" },
105
+ { "name": "--profile", "description": "Named profile from credentials", "type": "string" },
106
+ { "name": "--output", "description": "Output format (json, text, table, yaml)", "type": "string" },
107
+ { "name": "--no-cli-pager", "description": "Disable CLI pager" },
108
+ { "name": "--query", "description": "JMESPath query to filter output", "type": "string" },
109
+ { "name": "--dry-run", "description": "Check permissions without making the request" },
110
+ { "name": "--debug", "description": "Enable debug logging" },
111
+ { "name": "--endpoint-url", "description": "Override the default endpoint URL", "type": "string" }
112
+ ],
113
+ "examples": [
114
+ "aws s3 ls",
115
+ "aws ec2 describe-instances --region us-east-1",
116
+ "aws sts get-caller-identity",
117
+ "aws configure list-profiles",
118
+ "aws lambda list-functions --output table"
119
+ ],
120
+ "relatedCommands": ["gcloud", "az", "terraform", "sam", "cdk"],
121
+ "contextEngine": {
122
+ "detectors": [
123
+ {
124
+ "name": "caller_identity",
125
+ "description": "Current AWS account and IAM identity",
126
+ "command": "aws sts get-caller-identity --output json 2>/dev/null",
127
+ "parser": "json",
128
+ "cacheFor": 60,
129
+ "requiresCmd": "aws"
130
+ },
131
+ {
132
+ "name": "current_region",
133
+ "description": "Currently configured AWS region",
134
+ "command": "aws configure get region 2>/dev/null",
135
+ "parser": "text",
136
+ "cacheFor": 120,
137
+ "requiresCmd": "aws"
138
+ },
139
+ {
140
+ "name": "profiles",
141
+ "description": "Available AWS CLI profiles",
142
+ "command": "aws configure list-profiles 2>/dev/null",
143
+ "parser": "lines",
144
+ "cacheFor": 120,
145
+ "requiresCmd": "aws"
146
+ },
147
+ {
148
+ "name": "s3_buckets",
149
+ "description": "S3 buckets in the account",
150
+ "command": "aws s3api list-buckets --query 'Buckets[].Name' --output text 2>/dev/null",
151
+ "parser": "lines",
152
+ "cacheFor": 120,
153
+ "requiresCmd": "aws"
154
+ },
155
+ {
156
+ "name": "ec2_instances",
157
+ "description": "Running EC2 instances",
158
+ "command": "aws ec2 describe-instances --filters Name=instance-state-name,Values=running --query 'Reservations[].Instances[].[InstanceId,Tags[?Key==`Name`].Value|[0],InstanceType,State.Name]' --output text 2>/dev/null",
159
+ "parser": "table",
160
+ "cacheFor": 60,
161
+ "requiresCmd": "aws"
162
+ },
163
+ {
164
+ "name": "lambda_functions",
165
+ "description": "Lambda functions in current region",
166
+ "command": "aws lambda list-functions --query 'Functions[].FunctionName' --output text 2>/dev/null",
167
+ "parser": "lines",
168
+ "cacheFor": 60,
169
+ "requiresCmd": "aws"
170
+ },
171
+ {
172
+ "name": "ecs_clusters",
173
+ "description": "ECS clusters",
174
+ "command": "aws ecs list-clusters --query 'clusterArns[]' --output text 2>/dev/null",
175
+ "parser": "lines",
176
+ "cacheFor": 60,
177
+ "requiresCmd": "aws"
178
+ },
179
+ {
180
+ "name": "ecr_repositories",
181
+ "description": "ECR repositories",
182
+ "command": "aws ecr describe-repositories --query 'repositories[].repositoryName' --output text 2>/dev/null",
183
+ "parser": "lines",
184
+ "cacheFor": 120,
185
+ "requiresCmd": "aws"
186
+ },
187
+ {
188
+ "name": "rds_instances",
189
+ "description": "RDS database instances",
190
+ "command": "aws rds describe-db-instances --query 'DBInstances[].[DBInstanceIdentifier,Engine,DBInstanceStatus]' --output text 2>/dev/null",
191
+ "parser": "table",
192
+ "cacheFor": 120,
193
+ "requiresCmd": "aws"
194
+ },
195
+ {
196
+ "name": "cloudformation_stacks",
197
+ "description": "CloudFormation stacks",
198
+ "command": "aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE UPDATE_COMPLETE --query 'StackSummaries[].StackName' --output text 2>/dev/null",
199
+ "parser": "lines",
200
+ "cacheFor": 60,
201
+ "requiresCmd": "aws"
202
+ },
203
+ {
204
+ "name": "eks_clusters",
205
+ "description": "EKS clusters",
206
+ "command": "aws eks list-clusters --query 'clusters[]' --output text 2>/dev/null",
207
+ "parser": "lines",
208
+ "cacheFor": 120,
209
+ "requiresCmd": "aws"
210
+ },
211
+ {
212
+ "name": "dynamodb_tables",
213
+ "description": "DynamoDB tables",
214
+ "command": "aws dynamodb list-tables --query 'TableNames[]' --output text 2>/dev/null",
215
+ "parser": "lines",
216
+ "cacheFor": 120,
217
+ "requiresCmd": "aws"
218
+ },
219
+ {
220
+ "name": "sqs_queues",
221
+ "description": "SQS queues",
222
+ "command": "aws sqs list-queues --query 'QueueUrls[]' --output text 2>/dev/null",
223
+ "parser": "lines",
224
+ "cacheFor": 120,
225
+ "requiresCmd": "aws"
226
+ }
227
+ ]
228
+ }
229
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "az",
3
+ "description": "Azure CLI for managing Azure resources",
4
+ "category": "cloud",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "fish", "powershell"],
7
+ "subcommands": [
8
+ { "name": "login", "description": "Log in to Azure", "options": [{ "name": "--use-device-code", "description": "Use device code flow" }, { "name": "--service-principal", "description": "Log in as service principal" }], "examples": ["az login", "az login --use-device-code"] },
9
+ { "name": "account set", "description": "Set active subscription", "options": [{ "name": "--subscription", "short": "-s", "description": "Subscription ID or name", "type": "string" }], "examples": ["az account set -s my-subscription-id"] },
10
+ { "name": "account list", "description": "List subscriptions", "examples": ["az account list --output table"] },
11
+ { "name": "group create", "description": "Create a resource group", "options": [{ "name": "--name", "short": "-n", "description": "Resource group name", "type": "string" }, { "name": "--location", "short": "-l", "description": "Location", "type": "string" }], "examples": ["az group create -n mygroup -l eastus"] },
12
+ { "name": "group list", "description": "List resource groups", "examples": ["az group list --output table"] },
13
+ { "name": "vm create", "description": "Create a virtual machine", "options": [{ "name": "--resource-group", "short": "-g", "description": "Resource group", "type": "string" }, { "name": "--name", "short": "-n", "description": "VM name", "type": "string" }, { "name": "--image", "description": "OS image", "type": "string" }, { "name": "--size", "description": "VM size", "type": "string" }, { "name": "--admin-username", "description": "Admin user", "type": "string" }, { "name": "--generate-ssh-keys", "description": "Generate SSH key pair" }], "examples": ["az vm create -g mygroup -n myvm --image Ubuntu2204 --generate-ssh-keys"] },
14
+ { "name": "vm list", "description": "List virtual machines", "options": [{ "name": "--resource-group", "short": "-g", "description": "Filter by resource group", "type": "string" }], "examples": ["az vm list --output table", "az vm list -g mygroup"] },
15
+ { "name": "aks create", "description": "Create an AKS cluster", "options": [{ "name": "--resource-group", "short": "-g", "description": "Resource group", "type": "string" }, { "name": "--name", "short": "-n", "description": "Cluster name", "type": "string" }, { "name": "--node-count", "description": "Node count", "type": "number" }], "examples": ["az aks create -g mygroup -n mycluster --node-count 3"] },
16
+ { "name": "aks get-credentials", "description": "Get AKS credentials for kubectl", "options": [{ "name": "--resource-group", "short": "-g", "description": "Resource group", "type": "string" }, { "name": "--name", "short": "-n", "description": "Cluster name", "type": "string" }], "examples": ["az aks get-credentials -g mygroup -n mycluster"] },
17
+ { "name": "acr login", "description": "Log in to Azure Container Registry", "options": [{ "name": "--name", "short": "-n", "description": "Registry name", "type": "string" }], "examples": ["az acr login -n myregistry"] },
18
+ { "name": "storage account create", "description": "Create a storage account", "options": [{ "name": "--name", "short": "-n", "description": "Account name", "type": "string" }, { "name": "--resource-group", "short": "-g", "description": "Resource group", "type": "string" }, { "name": "--sku", "description": "SKU", "type": "string" }], "examples": ["az storage account create -n mystorage -g mygroup --sku Standard_LRS"] },
19
+ { "name": "webapp create", "description": "Create a web app", "options": [{ "name": "--resource-group", "short": "-g", "description": "Resource group", "type": "string" }, { "name": "--name", "short": "-n", "description": "App name", "type": "string" }, { "name": "--plan", "description": "App Service plan", "type": "string" }], "examples": ["az webapp create -g mygroup -n myapp --plan myplan"] },
20
+ { "name": "functionapp create", "description": "Create a function app", "options": [{ "name": "--resource-group", "short": "-g", "description": "Resource group", "type": "string" }, { "name": "--name", "short": "-n", "description": "Function app name", "type": "string" }, { "name": "--runtime", "description": "Runtime", "type": "string" }], "examples": ["az functionapp create -g mygroup -n myfunc --runtime node --consumption-plan-location eastus"] }
21
+ ],
22
+ "globalOptions": [
23
+ { "name": "--help", "short": "-h", "description": "Show help" },
24
+ { "name": "--output", "short": "-o", "description": "Output format (json, table, tsv, yaml)", "type": "string" },
25
+ { "name": "--query", "description": "JMESPath query", "type": "string" },
26
+ { "name": "--subscription", "description": "Subscription", "type": "string" },
27
+ { "name": "--verbose", "description": "Verbose output" },
28
+ { "name": "--debug", "description": "Debug output" }
29
+ ],
30
+ "examples": [
31
+ "az login && az account list --output table",
32
+ "az vm create -g mygroup -n myvm --image Ubuntu2204 --generate-ssh-keys",
33
+ "az aks get-credentials -g mygroup -n mycluster"
34
+ ],
35
+ "relatedCommands": ["az-cli", "azd", "terraform", "pulumi"]
36
+ }
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "bazel",
3
+ "description": "Google's build and test tool for multi-language, multi-platform projects",
4
+ "category": "Build Tools",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "powershell", "fish"],
7
+ "subcommands": [
8
+ { "name": "build", "description": "Build specified targets", "args": [{ "name": "targets", "description": "Build targets (//package:target)", "required": true }], "options": [
9
+ { "name": "--config", "description": "Use build configuration", "takesValue": true },
10
+ { "name": "--compilation_mode", "shorthand": "-c", "description": "Compilation mode (fastbuild, dbg, opt)", "takesValue": true },
11
+ { "name": "--jobs", "shorthand": "-j", "description": "Concurrent jobs", "takesValue": true },
12
+ { "name": "--platforms", "description": "Target platform", "takesValue": true },
13
+ { "name": "--define", "description": "Define variable", "takesValue": true },
14
+ { "name": "--keep_going", "shorthand": "-k", "description": "Continue on errors" },
15
+ { "name": "--verbose_failures", "description": "Verbose failure output" },
16
+ { "name": "--sandbox_debug", "description": "Debug sandboxing" },
17
+ { "name": "--remote_cache", "description": "Remote cache URL", "takesValue": true }
18
+ ]},
19
+ { "name": "test", "description": "Build and run tests", "args": [{ "name": "targets", "description": "Test targets", "required": true }], "options": [
20
+ { "name": "--test_output", "description": "Test output (summary, errors, all, streamed)", "takesValue": true },
21
+ { "name": "--test_filter", "description": "Test name filter", "takesValue": true },
22
+ { "name": "--test_timeout", "description": "Test timeout", "takesValue": true },
23
+ { "name": "--cache_test_results", "description": "Cache results (yes, no, auto)", "takesValue": true },
24
+ { "name": "--test_env", "description": "Set test env variable", "takesValue": true },
25
+ { "name": "--test_arg", "description": "Pass arg to test runner", "takesValue": true },
26
+ { "name": "--runs_per_test", "description": "Run count per test", "takesValue": true },
27
+ { "name": "--flaky_test_attempts", "description": "Retry attempts for flaky tests", "takesValue": true }
28
+ ]},
29
+ { "name": "run", "description": "Build and run a target", "args": [{ "name": "target", "description": "Target to run", "required": true }] },
30
+ { "name": "query", "description": "Query the build graph", "args": [{ "name": "expression", "description": "Query expression", "required": true }], "options": [
31
+ { "name": "--output", "description": "Output format (label, label_kind, build, graph, proto, xml)", "takesValue": true }
32
+ ]},
33
+ { "name": "cquery", "description": "Configured query", "args": [{ "name": "expression", "description": "Query expression", "required": true }] },
34
+ { "name": "aquery", "description": "Action query", "args": [{ "name": "expression", "description": "Query expression", "required": true }] },
35
+ { "name": "clean", "description": "Remove output files", "options": [{ "name": "--expunge", "description": "Remove entire output base" }] },
36
+ { "name": "fetch", "description": "Fetch external dependencies" },
37
+ { "name": "sync", "description": "Sync all repos" },
38
+ { "name": "info", "description": "Show runtime info", "args": [{ "name": "key", "description": "Info key", "required": false }] },
39
+ { "name": "coverage", "description": "Generate code coverage" },
40
+ { "name": "mobile-install", "description": "Install on Android device" },
41
+ { "name": "shutdown", "description": "Stop Bazel server" },
42
+ { "name": "version", "description": "Show version" },
43
+ { "name": "help", "description": "Show help" }
44
+ ],
45
+ "globalOptions": [
46
+ { "name": "--output_base", "description": "Output base directory", "takesValue": true },
47
+ { "name": "--batch", "description": "Run without server" },
48
+ { "name": "--blazerc", "description": "Bazelrc file", "takesValue": true },
49
+ { "name": "--norc", "description": "Don't read bazelrc" }
50
+ ],
51
+ "examples": [
52
+ { "command": "bazel build //...", "description": "Build all targets" },
53
+ { "command": "bazel test //...", "description": "Run all tests" },
54
+ { "command": "bazel build //src:main -c opt", "description": "Optimized build" },
55
+ { "command": "bazel test //tests:unit --test_output=all", "description": "Tests with full output" },
56
+ { "command": "bazel run //cmd:server", "description": "Build and run" },
57
+ { "command": "bazel query 'deps(//src:main)'", "description": "Query dependencies" },
58
+ { "command": "bazel clean --expunge", "description": "Full clean" },
59
+ { "command": "bazel info workspace", "description": "Show workspace path" }
60
+ ],
61
+ "relatedCommands": ["make", "cmake"],
62
+ "contextEngine": {
63
+ "detectors": [
64
+ {
65
+ "name": "workspace",
66
+ "description": "Workspace configuration",
67
+ "command": "cat WORKSPACE 2>/dev/null || cat WORKSPACE.bazel 2>/dev/null || cat MODULE.bazel 2>/dev/null | head -20",
68
+ "parser": "text",
69
+ "cacheFor": 60
70
+ },
71
+ {
72
+ "name": "build_targets",
73
+ "description": "Available targets in current package",
74
+ "command": "bazel query '//...' --output=label 2>/dev/null | head -30",
75
+ "parser": "lines",
76
+ "cacheFor": 30,
77
+ "requiresCmd": "bazel"
78
+ },
79
+ {
80
+ "name": "build_files",
81
+ "description": "BUILD files",
82
+ "command": "find . -name 'BUILD' -o -name 'BUILD.bazel' 2>/dev/null | head -15",
83
+ "parser": "lines",
84
+ "cacheFor": 30
85
+ },
86
+ {
87
+ "name": "bazelrc",
88
+ "description": "Bazel configuration",
89
+ "command": "cat .bazelrc 2>/dev/null | head -20",
90
+ "parser": "text",
91
+ "cacheFor": 60
92
+ },
93
+ {
94
+ "name": "info",
95
+ "description": "Bazel workspace info",
96
+ "command": "bazel info 2>/dev/null | head -15",
97
+ "parser": "keyvalue",
98
+ "cacheFor": 60,
99
+ "requiresCmd": "bazel"
100
+ }
101
+ ]
102
+ }
103
+ }