@mainwp/control 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/LICENSE +674 -0
- package/README.md +583 -0
- package/bin/_exit.js +12 -0
- package/bin/dev.js +7 -0
- package/bin/run.js +7 -0
- package/dist/chat/chat-engine.d.ts +213 -0
- package/dist/chat/chat-engine.d.ts.map +1 -0
- package/dist/chat/chat-engine.js +636 -0
- package/dist/chat/chat-engine.js.map +1 -0
- package/dist/chat/index.d.ts +10 -0
- package/dist/chat/index.d.ts.map +1 -0
- package/dist/chat/index.js +14 -0
- package/dist/chat/index.js.map +1 -0
- package/dist/chat/providers/anthropic.d.ts +52 -0
- package/dist/chat/providers/anthropic.d.ts.map +1 -0
- package/dist/chat/providers/anthropic.js +292 -0
- package/dist/chat/providers/anthropic.js.map +1 -0
- package/dist/chat/providers/gemini.d.ts +52 -0
- package/dist/chat/providers/gemini.d.ts.map +1 -0
- package/dist/chat/providers/gemini.js +284 -0
- package/dist/chat/providers/gemini.js.map +1 -0
- package/dist/chat/providers/index.d.ts +19 -0
- package/dist/chat/providers/index.d.ts.map +1 -0
- package/dist/chat/providers/index.js +23 -0
- package/dist/chat/providers/index.js.map +1 -0
- package/dist/chat/providers/local.d.ts +37 -0
- package/dist/chat/providers/local.d.ts.map +1 -0
- package/dist/chat/providers/local.js +130 -0
- package/dist/chat/providers/local.js.map +1 -0
- package/dist/chat/providers/openai-compatible.d.ts +155 -0
- package/dist/chat/providers/openai-compatible.d.ts.map +1 -0
- package/dist/chat/providers/openai-compatible.js +264 -0
- package/dist/chat/providers/openai-compatible.js.map +1 -0
- package/dist/chat/providers/openai.d.ts +24 -0
- package/dist/chat/providers/openai.d.ts.map +1 -0
- package/dist/chat/providers/openai.js +62 -0
- package/dist/chat/providers/openai.js.map +1 -0
- package/dist/chat/providers/openrouter.d.ts +26 -0
- package/dist/chat/providers/openrouter.d.ts.map +1 -0
- package/dist/chat/providers/openrouter.js +65 -0
- package/dist/chat/providers/openrouter.js.map +1 -0
- package/dist/chat/providers/provider-fetch.d.ts +15 -0
- package/dist/chat/providers/provider-fetch.d.ts.map +1 -0
- package/dist/chat/providers/provider-fetch.js +35 -0
- package/dist/chat/providers/provider-fetch.js.map +1 -0
- package/dist/chat/providers/provider.d.ts +214 -0
- package/dist/chat/providers/provider.d.ts.map +1 -0
- package/dist/chat/providers/provider.js +166 -0
- package/dist/chat/providers/provider.js.map +1 -0
- package/dist/chat/providers/sse-reader.d.ts +21 -0
- package/dist/chat/providers/sse-reader.d.ts.map +1 -0
- package/dist/chat/providers/sse-reader.js +48 -0
- package/dist/chat/providers/sse-reader.js.map +1 -0
- package/dist/chat/system-prompt.d.ts +33 -0
- package/dist/chat/system-prompt.d.ts.map +1 -0
- package/dist/chat/system-prompt.js +166 -0
- package/dist/chat/system-prompt.js.map +1 -0
- package/dist/chat/tool-envelope.d.ts +72 -0
- package/dist/chat/tool-envelope.d.ts.map +1 -0
- package/dist/chat/tool-envelope.js +263 -0
- package/dist/chat/tool-envelope.js.map +1 -0
- package/dist/commands/abilities/info.d.ts +21 -0
- package/dist/commands/abilities/info.d.ts.map +1 -0
- package/dist/commands/abilities/info.js +80 -0
- package/dist/commands/abilities/info.js.map +1 -0
- package/dist/commands/abilities/list.d.ts +19 -0
- package/dist/commands/abilities/list.d.ts.map +1 -0
- package/dist/commands/abilities/list.js +98 -0
- package/dist/commands/abilities/list.js.map +1 -0
- package/dist/commands/abilities/run.d.ts +75 -0
- package/dist/commands/abilities/run.d.ts.map +1 -0
- package/dist/commands/abilities/run.js +468 -0
- package/dist/commands/abilities/run.js.map +1 -0
- package/dist/commands/chat.d.ts +54 -0
- package/dist/commands/chat.d.ts.map +1 -0
- package/dist/commands/chat.js +384 -0
- package/dist/commands/chat.js.map +1 -0
- package/dist/commands/config/show.d.ts +54 -0
- package/dist/commands/config/show.d.ts.map +1 -0
- package/dist/commands/config/show.js +324 -0
- package/dist/commands/config/show.js.map +1 -0
- package/dist/commands/doctor.d.ts +77 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +412 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/jobs/watch.d.ts +50 -0
- package/dist/commands/jobs/watch.d.ts.map +1 -0
- package/dist/commands/jobs/watch.js +269 -0
- package/dist/commands/jobs/watch.js.map +1 -0
- package/dist/commands/login.d.ts +25 -0
- package/dist/commands/login.d.ts.map +1 -0
- package/dist/commands/login.js +165 -0
- package/dist/commands/login.js.map +1 -0
- package/dist/commands/profile/delete.d.ts +22 -0
- package/dist/commands/profile/delete.d.ts.map +1 -0
- package/dist/commands/profile/delete.js +57 -0
- package/dist/commands/profile/delete.js.map +1 -0
- package/dist/commands/profile/list.d.ts +19 -0
- package/dist/commands/profile/list.d.ts.map +1 -0
- package/dist/commands/profile/list.js +53 -0
- package/dist/commands/profile/list.js.map +1 -0
- package/dist/commands/profile/use.d.ts +22 -0
- package/dist/commands/profile/use.d.ts.map +1 -0
- package/dist/commands/profile/use.js +46 -0
- package/dist/commands/profile/use.js.map +1 -0
- package/dist/config/fs-utils.d.ts +14 -0
- package/dist/config/fs-utils.d.ts.map +1 -0
- package/dist/config/fs-utils.js +31 -0
- package/dist/config/fs-utils.js.map +1 -0
- package/dist/config/keychain.d.ts +53 -0
- package/dist/config/keychain.d.ts.map +1 -0
- package/dist/config/keychain.js +175 -0
- package/dist/config/keychain.js.map +1 -0
- package/dist/config/profile-store.d.ts +85 -0
- package/dist/config/profile-store.d.ts.map +1 -0
- package/dist/config/profile-store.js +228 -0
- package/dist/config/profile-store.js.map +1 -0
- package/dist/config/settings.d.ts +71 -0
- package/dist/config/settings.d.ts.map +1 -0
- package/dist/config/settings.js +151 -0
- package/dist/config/settings.js.map +1 -0
- package/dist/core/abilities-executor.d.ts +126 -0
- package/dist/core/abilities-executor.d.ts.map +1 -0
- package/dist/core/abilities-executor.js +264 -0
- package/dist/core/abilities-executor.js.map +1 -0
- package/dist/core/batch-manager.d.ts +113 -0
- package/dist/core/batch-manager.d.ts.map +1 -0
- package/dist/core/batch-manager.js +244 -0
- package/dist/core/batch-manager.js.map +1 -0
- package/dist/core/http-client.d.ts +111 -0
- package/dist/core/http-client.d.ts.map +1 -0
- package/dist/core/http-client.js +329 -0
- package/dist/core/http-client.js.map +1 -0
- package/dist/core/safety-controller.d.ts +114 -0
- package/dist/core/safety-controller.d.ts.map +1 -0
- package/dist/core/safety-controller.js +229 -0
- package/dist/core/safety-controller.js.map +1 -0
- package/dist/hooks/command-not-found.d.ts +12 -0
- package/dist/hooks/command-not-found.d.ts.map +1 -0
- package/dist/hooks/command-not-found.js +58 -0
- package/dist/hooks/command-not-found.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/base-command.d.ts +123 -0
- package/dist/lib/base-command.d.ts.map +1 -0
- package/dist/lib/base-command.js +285 -0
- package/dist/lib/base-command.js.map +1 -0
- package/dist/output/formatter.d.ts +48 -0
- package/dist/output/formatter.d.ts.map +1 -0
- package/dist/output/formatter.js +138 -0
- package/dist/output/formatter.js.map +1 -0
- package/dist/output/json-envelope.d.ts +43 -0
- package/dist/output/json-envelope.d.ts.map +1 -0
- package/dist/output/json-envelope.js +73 -0
- package/dist/output/json-envelope.js.map +1 -0
- package/dist/utils/audit-logger.d.ts +97 -0
- package/dist/utils/audit-logger.d.ts.map +1 -0
- package/dist/utils/audit-logger.js +169 -0
- package/dist/utils/audit-logger.js.map +1 -0
- package/dist/utils/colors.d.ts +29 -0
- package/dist/utils/colors.d.ts.map +1 -0
- package/dist/utils/colors.js +36 -0
- package/dist/utils/colors.js.map +1 -0
- package/dist/utils/errors.d.ts +107 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +149 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/exit-codes.d.ts +21 -0
- package/dist/utils/exit-codes.d.ts.map +1 -0
- package/dist/utils/exit-codes.js +20 -0
- package/dist/utils/exit-codes.js.map +1 -0
- package/dist/utils/format.d.ts +64 -0
- package/dist/utils/format.d.ts.map +1 -0
- package/dist/utils/format.js +69 -0
- package/dist/utils/format.js.map +1 -0
- package/dist/utils/prompt.d.ts +34 -0
- package/dist/utils/prompt.d.ts.map +1 -0
- package/dist/utils/prompt.js +132 -0
- package/dist/utils/prompt.js.map +1 -0
- package/dist/utils/retry.d.ts +59 -0
- package/dist/utils/retry.d.ts.map +1 -0
- package/dist/utils/retry.js +96 -0
- package/dist/utils/retry.js.map +1 -0
- package/dist/utils/terminal-sanitizer.d.ts +60 -0
- package/dist/utils/terminal-sanitizer.d.ts.map +1 -0
- package/dist/utils/terminal-sanitizer.js +166 -0
- package/dist/utils/terminal-sanitizer.js.map +1 -0
- package/dist/validation/input-sanitizer.d.ts +76 -0
- package/dist/validation/input-sanitizer.d.ts.map +1 -0
- package/dist/validation/input-sanitizer.js +199 -0
- package/dist/validation/input-sanitizer.js.map +1 -0
- package/dist/validation/schema-validator.d.ts +75 -0
- package/dist/validation/schema-validator.d.ts.map +1 -0
- package/dist/validation/schema-validator.js +147 -0
- package/dist/validation/schema-validator.js.map +1 -0
- package/oclif.manifest.json +857 -0
- package/package.json +101 -0
- package/scripts/completions/README.md +221 -0
- package/scripts/completions/mainwpcontrol.bash +193 -0
- package/scripts/completions/mainwpcontrol.zsh +267 -0
- package/scripts/completions/profile-completer.sh +35 -0
- package/scripts/completions/regenerate.sh +78 -0
|
@@ -0,0 +1,857 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"chat": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"message": {
|
|
7
|
+
"description": "Single message to send (non-interactive mode)",
|
|
8
|
+
"name": "message",
|
|
9
|
+
"required": false
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"description": "Interactive chat mode for MainWP Dashboard management",
|
|
13
|
+
"examples": [
|
|
14
|
+
{
|
|
15
|
+
"command": "<%= config.bin %>",
|
|
16
|
+
"description": "Start interactive chat (streaming enabled by default)"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"command": "<%= config.bin %> --no-stream",
|
|
20
|
+
"description": "Disable streaming for complete responses"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"command": "<%= config.bin %> --provider openai",
|
|
24
|
+
"description": "Use OpenAI provider"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"command": "<%= config.bin %> --model gpt-4o",
|
|
28
|
+
"description": "Use specific model"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"command": "<%= config.bin %> --max-context-messages 50",
|
|
32
|
+
"description": "Use larger context window for complex workflows"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"flags": {
|
|
36
|
+
"json": {
|
|
37
|
+
"description": "Output JSON (for scripting/CI)",
|
|
38
|
+
"name": "json",
|
|
39
|
+
"allowNo": false,
|
|
40
|
+
"type": "boolean"
|
|
41
|
+
},
|
|
42
|
+
"quiet": {
|
|
43
|
+
"char": "q",
|
|
44
|
+
"description": "Suppress output (exit code only)",
|
|
45
|
+
"name": "quiet",
|
|
46
|
+
"allowNo": false,
|
|
47
|
+
"type": "boolean"
|
|
48
|
+
},
|
|
49
|
+
"profile": {
|
|
50
|
+
"char": "p",
|
|
51
|
+
"description": "Use a specific profile",
|
|
52
|
+
"name": "profile",
|
|
53
|
+
"hasDynamicHelp": false,
|
|
54
|
+
"multiple": false,
|
|
55
|
+
"type": "option"
|
|
56
|
+
},
|
|
57
|
+
"debug": {
|
|
58
|
+
"description": "Show debug output",
|
|
59
|
+
"name": "debug",
|
|
60
|
+
"allowNo": false,
|
|
61
|
+
"type": "boolean"
|
|
62
|
+
},
|
|
63
|
+
"provider": {
|
|
64
|
+
"description": "LLM provider (openai, anthropic, gemini, openrouter, local)",
|
|
65
|
+
"env": "MAINWP_LLM_PROVIDER",
|
|
66
|
+
"name": "provider",
|
|
67
|
+
"hasDynamicHelp": false,
|
|
68
|
+
"multiple": false,
|
|
69
|
+
"type": "option"
|
|
70
|
+
},
|
|
71
|
+
"model": {
|
|
72
|
+
"char": "m",
|
|
73
|
+
"description": "Model to use",
|
|
74
|
+
"env": "MAINWP_LLM_MODEL",
|
|
75
|
+
"name": "model",
|
|
76
|
+
"hasDynamicHelp": false,
|
|
77
|
+
"multiple": false,
|
|
78
|
+
"type": "option"
|
|
79
|
+
},
|
|
80
|
+
"api-key": {
|
|
81
|
+
"description": "LLM API key (DEPRECATED: use environment variables instead — CLI args are visible in process list)",
|
|
82
|
+
"env": "MAINWP_LLM_API_KEY",
|
|
83
|
+
"name": "api-key",
|
|
84
|
+
"hasDynamicHelp": false,
|
|
85
|
+
"multiple": false,
|
|
86
|
+
"type": "option"
|
|
87
|
+
},
|
|
88
|
+
"base-url": {
|
|
89
|
+
"description": "Custom API base URL",
|
|
90
|
+
"name": "base-url",
|
|
91
|
+
"hasDynamicHelp": false,
|
|
92
|
+
"multiple": false,
|
|
93
|
+
"type": "option"
|
|
94
|
+
},
|
|
95
|
+
"max-turns": {
|
|
96
|
+
"description": "Maximum tool calls per turn",
|
|
97
|
+
"name": "max-turns",
|
|
98
|
+
"default": 3,
|
|
99
|
+
"hasDynamicHelp": false,
|
|
100
|
+
"multiple": false,
|
|
101
|
+
"type": "option"
|
|
102
|
+
},
|
|
103
|
+
"max-context-messages": {
|
|
104
|
+
"description": "Maximum messages to keep in context (default: 20, 0 = unlimited)",
|
|
105
|
+
"name": "max-context-messages",
|
|
106
|
+
"hasDynamicHelp": false,
|
|
107
|
+
"multiple": false,
|
|
108
|
+
"type": "option"
|
|
109
|
+
},
|
|
110
|
+
"stream": {
|
|
111
|
+
"description": "Enable streaming responses (progressive output)",
|
|
112
|
+
"name": "stream",
|
|
113
|
+
"allowNo": true,
|
|
114
|
+
"type": "boolean"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"hasDynamicHelp": false,
|
|
118
|
+
"hiddenAliases": [],
|
|
119
|
+
"id": "chat",
|
|
120
|
+
"pluginAlias": "@mainwp/control",
|
|
121
|
+
"pluginName": "@mainwp/control",
|
|
122
|
+
"pluginType": "core",
|
|
123
|
+
"strict": true,
|
|
124
|
+
"isESM": true,
|
|
125
|
+
"relativePath": [
|
|
126
|
+
"dist",
|
|
127
|
+
"commands",
|
|
128
|
+
"chat.js"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
"doctor": {
|
|
132
|
+
"aliases": [],
|
|
133
|
+
"args": {},
|
|
134
|
+
"description": "Diagnose configuration and connectivity issues",
|
|
135
|
+
"examples": [
|
|
136
|
+
{
|
|
137
|
+
"command": "<%= config.bin %> doctor",
|
|
138
|
+
"description": "Run all diagnostic checks"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"command": "<%= config.bin %> doctor --json",
|
|
142
|
+
"description": "Output results in JSON format"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"flags": {
|
|
146
|
+
"json": {
|
|
147
|
+
"description": "Output JSON (for scripting/CI)",
|
|
148
|
+
"name": "json",
|
|
149
|
+
"allowNo": false,
|
|
150
|
+
"type": "boolean"
|
|
151
|
+
},
|
|
152
|
+
"quiet": {
|
|
153
|
+
"char": "q",
|
|
154
|
+
"description": "Suppress output (exit code only)",
|
|
155
|
+
"name": "quiet",
|
|
156
|
+
"allowNo": false,
|
|
157
|
+
"type": "boolean"
|
|
158
|
+
},
|
|
159
|
+
"profile": {
|
|
160
|
+
"char": "p",
|
|
161
|
+
"description": "Use a specific profile",
|
|
162
|
+
"name": "profile",
|
|
163
|
+
"hasDynamicHelp": false,
|
|
164
|
+
"multiple": false,
|
|
165
|
+
"type": "option"
|
|
166
|
+
},
|
|
167
|
+
"debug": {
|
|
168
|
+
"description": "Show debug output",
|
|
169
|
+
"name": "debug",
|
|
170
|
+
"allowNo": false,
|
|
171
|
+
"type": "boolean"
|
|
172
|
+
},
|
|
173
|
+
"verbose": {
|
|
174
|
+
"char": "v",
|
|
175
|
+
"description": "Show detailed output",
|
|
176
|
+
"name": "verbose",
|
|
177
|
+
"allowNo": false,
|
|
178
|
+
"type": "boolean"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"hasDynamicHelp": false,
|
|
182
|
+
"hiddenAliases": [],
|
|
183
|
+
"id": "doctor",
|
|
184
|
+
"pluginAlias": "@mainwp/control",
|
|
185
|
+
"pluginName": "@mainwp/control",
|
|
186
|
+
"pluginType": "core",
|
|
187
|
+
"strict": true,
|
|
188
|
+
"isESM": true,
|
|
189
|
+
"relativePath": [
|
|
190
|
+
"dist",
|
|
191
|
+
"commands",
|
|
192
|
+
"doctor.js"
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
"login": {
|
|
196
|
+
"aliases": [],
|
|
197
|
+
"args": {},
|
|
198
|
+
"description": "Authenticate with a MainWP Dashboard",
|
|
199
|
+
"examples": [
|
|
200
|
+
"<%= config.bin %> <%= command.id %>",
|
|
201
|
+
"<%= config.bin %> <%= command.id %> --url https://dashboard.example.com",
|
|
202
|
+
"<%= config.bin %> <%= command.id %> --name production"
|
|
203
|
+
],
|
|
204
|
+
"flags": {
|
|
205
|
+
"json": {
|
|
206
|
+
"description": "Output JSON (for scripting/CI)",
|
|
207
|
+
"name": "json",
|
|
208
|
+
"allowNo": false,
|
|
209
|
+
"type": "boolean"
|
|
210
|
+
},
|
|
211
|
+
"quiet": {
|
|
212
|
+
"char": "q",
|
|
213
|
+
"description": "Suppress output (exit code only)",
|
|
214
|
+
"name": "quiet",
|
|
215
|
+
"allowNo": false,
|
|
216
|
+
"type": "boolean"
|
|
217
|
+
},
|
|
218
|
+
"profile": {
|
|
219
|
+
"char": "p",
|
|
220
|
+
"description": "Use a specific profile",
|
|
221
|
+
"name": "profile",
|
|
222
|
+
"hasDynamicHelp": false,
|
|
223
|
+
"multiple": false,
|
|
224
|
+
"type": "option"
|
|
225
|
+
},
|
|
226
|
+
"debug": {
|
|
227
|
+
"description": "Show debug output",
|
|
228
|
+
"name": "debug",
|
|
229
|
+
"allowNo": false,
|
|
230
|
+
"type": "boolean"
|
|
231
|
+
},
|
|
232
|
+
"url": {
|
|
233
|
+
"char": "u",
|
|
234
|
+
"description": "Dashboard URL",
|
|
235
|
+
"name": "url",
|
|
236
|
+
"hasDynamicHelp": false,
|
|
237
|
+
"multiple": false,
|
|
238
|
+
"type": "option"
|
|
239
|
+
},
|
|
240
|
+
"username": {
|
|
241
|
+
"description": "WordPress admin username",
|
|
242
|
+
"name": "username",
|
|
243
|
+
"hasDynamicHelp": false,
|
|
244
|
+
"multiple": false,
|
|
245
|
+
"type": "option"
|
|
246
|
+
},
|
|
247
|
+
"password": {
|
|
248
|
+
"description": "Application password (will prompt if not provided)",
|
|
249
|
+
"name": "password",
|
|
250
|
+
"hasDynamicHelp": false,
|
|
251
|
+
"multiple": false,
|
|
252
|
+
"type": "option"
|
|
253
|
+
},
|
|
254
|
+
"name": {
|
|
255
|
+
"char": "n",
|
|
256
|
+
"description": "Profile name (defaults to hostname)",
|
|
257
|
+
"name": "name",
|
|
258
|
+
"hasDynamicHelp": false,
|
|
259
|
+
"multiple": false,
|
|
260
|
+
"type": "option"
|
|
261
|
+
},
|
|
262
|
+
"skip-ssl-verify": {
|
|
263
|
+
"description": "Skip SSL certificate verification",
|
|
264
|
+
"name": "skip-ssl-verify",
|
|
265
|
+
"allowNo": false,
|
|
266
|
+
"type": "boolean"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"hasDynamicHelp": false,
|
|
270
|
+
"hiddenAliases": [],
|
|
271
|
+
"id": "login",
|
|
272
|
+
"pluginAlias": "@mainwp/control",
|
|
273
|
+
"pluginName": "@mainwp/control",
|
|
274
|
+
"pluginType": "core",
|
|
275
|
+
"strict": true,
|
|
276
|
+
"isESM": true,
|
|
277
|
+
"relativePath": [
|
|
278
|
+
"dist",
|
|
279
|
+
"commands",
|
|
280
|
+
"login.js"
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
"abilities:info": {
|
|
284
|
+
"aliases": [],
|
|
285
|
+
"args": {
|
|
286
|
+
"name": {
|
|
287
|
+
"description": "Ability name (e.g., list-sites-v1)",
|
|
288
|
+
"name": "name",
|
|
289
|
+
"required": true
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"description": "Get detailed information about an ability",
|
|
293
|
+
"examples": [
|
|
294
|
+
"<%= config.bin %> abilities info list-sites-v1",
|
|
295
|
+
"<%= config.bin %> abilities info mainwp/delete-site-v1 --json"
|
|
296
|
+
],
|
|
297
|
+
"flags": {
|
|
298
|
+
"json": {
|
|
299
|
+
"description": "Output JSON (for scripting/CI)",
|
|
300
|
+
"name": "json",
|
|
301
|
+
"allowNo": false,
|
|
302
|
+
"type": "boolean"
|
|
303
|
+
},
|
|
304
|
+
"quiet": {
|
|
305
|
+
"char": "q",
|
|
306
|
+
"description": "Suppress output (exit code only)",
|
|
307
|
+
"name": "quiet",
|
|
308
|
+
"allowNo": false,
|
|
309
|
+
"type": "boolean"
|
|
310
|
+
},
|
|
311
|
+
"profile": {
|
|
312
|
+
"char": "p",
|
|
313
|
+
"description": "Use a specific profile",
|
|
314
|
+
"name": "profile",
|
|
315
|
+
"hasDynamicHelp": false,
|
|
316
|
+
"multiple": false,
|
|
317
|
+
"type": "option"
|
|
318
|
+
},
|
|
319
|
+
"debug": {
|
|
320
|
+
"description": "Show debug output",
|
|
321
|
+
"name": "debug",
|
|
322
|
+
"allowNo": false,
|
|
323
|
+
"type": "boolean"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"hasDynamicHelp": false,
|
|
327
|
+
"hiddenAliases": [],
|
|
328
|
+
"id": "abilities:info",
|
|
329
|
+
"pluginAlias": "@mainwp/control",
|
|
330
|
+
"pluginName": "@mainwp/control",
|
|
331
|
+
"pluginType": "core",
|
|
332
|
+
"strict": true,
|
|
333
|
+
"isESM": true,
|
|
334
|
+
"relativePath": [
|
|
335
|
+
"dist",
|
|
336
|
+
"commands",
|
|
337
|
+
"abilities",
|
|
338
|
+
"info.js"
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
"abilities:list": {
|
|
342
|
+
"aliases": [],
|
|
343
|
+
"args": {},
|
|
344
|
+
"description": "List available abilities",
|
|
345
|
+
"examples": [
|
|
346
|
+
"<%= config.bin %> abilities list",
|
|
347
|
+
"<%= config.bin %> abilities list --category sites",
|
|
348
|
+
"<%= config.bin %> abilities list --json"
|
|
349
|
+
],
|
|
350
|
+
"flags": {
|
|
351
|
+
"json": {
|
|
352
|
+
"description": "Output JSON (for scripting/CI)",
|
|
353
|
+
"name": "json",
|
|
354
|
+
"allowNo": false,
|
|
355
|
+
"type": "boolean"
|
|
356
|
+
},
|
|
357
|
+
"quiet": {
|
|
358
|
+
"char": "q",
|
|
359
|
+
"description": "Suppress output (exit code only)",
|
|
360
|
+
"name": "quiet",
|
|
361
|
+
"allowNo": false,
|
|
362
|
+
"type": "boolean"
|
|
363
|
+
},
|
|
364
|
+
"profile": {
|
|
365
|
+
"char": "p",
|
|
366
|
+
"description": "Use a specific profile",
|
|
367
|
+
"name": "profile",
|
|
368
|
+
"hasDynamicHelp": false,
|
|
369
|
+
"multiple": false,
|
|
370
|
+
"type": "option"
|
|
371
|
+
},
|
|
372
|
+
"debug": {
|
|
373
|
+
"description": "Show debug output",
|
|
374
|
+
"name": "debug",
|
|
375
|
+
"allowNo": false,
|
|
376
|
+
"type": "boolean"
|
|
377
|
+
},
|
|
378
|
+
"category": {
|
|
379
|
+
"char": "c",
|
|
380
|
+
"description": "Filter by category",
|
|
381
|
+
"name": "category",
|
|
382
|
+
"hasDynamicHelp": false,
|
|
383
|
+
"multiple": false,
|
|
384
|
+
"type": "option"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"hasDynamicHelp": false,
|
|
388
|
+
"hiddenAliases": [],
|
|
389
|
+
"id": "abilities:list",
|
|
390
|
+
"pluginAlias": "@mainwp/control",
|
|
391
|
+
"pluginName": "@mainwp/control",
|
|
392
|
+
"pluginType": "core",
|
|
393
|
+
"strict": true,
|
|
394
|
+
"isESM": true,
|
|
395
|
+
"relativePath": [
|
|
396
|
+
"dist",
|
|
397
|
+
"commands",
|
|
398
|
+
"abilities",
|
|
399
|
+
"list.js"
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
"abilities:run": {
|
|
403
|
+
"aliases": [],
|
|
404
|
+
"args": {
|
|
405
|
+
"name": {
|
|
406
|
+
"description": "Ability name (e.g., list-sites-v1, delete-site-v1)",
|
|
407
|
+
"name": "name",
|
|
408
|
+
"required": true
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"description": "Execute an ability",
|
|
412
|
+
"examples": [
|
|
413
|
+
"<%= config.bin %> abilities run list-sites-v1",
|
|
414
|
+
"<%= config.bin %> abilities run list-sites-v1 --input '{\"status\": \"connected\"}'",
|
|
415
|
+
"<%= config.bin %> abilities run update-site-plugins-v1 --input-file params.json --confirm",
|
|
416
|
+
"echo '{\"site_id\": 5}' | <%= config.bin %> abilities run list-sites-v1 --input -",
|
|
417
|
+
"<%= config.bin %> abilities run delete-site-v1 --input '{\"site_id\": 1}' --dry-run",
|
|
418
|
+
"<%= config.bin %> abilities run delete-site-v1 --input '{\"site_id\": 1}' --confirm",
|
|
419
|
+
"<%= config.bin %> abilities run sync-sites-v1 --wait --json",
|
|
420
|
+
"<%= config.bin %> abilities run list-sites-v1 --json",
|
|
421
|
+
"<%= config.bin %> abilities run check-site-v1 --input '{\"site_id\": 1}' --quiet"
|
|
422
|
+
],
|
|
423
|
+
"flags": {
|
|
424
|
+
"json": {
|
|
425
|
+
"description": "Output JSON (for scripting/CI)",
|
|
426
|
+
"name": "json",
|
|
427
|
+
"allowNo": false,
|
|
428
|
+
"type": "boolean"
|
|
429
|
+
},
|
|
430
|
+
"quiet": {
|
|
431
|
+
"char": "q",
|
|
432
|
+
"description": "Suppress output (exit code only)",
|
|
433
|
+
"name": "quiet",
|
|
434
|
+
"allowNo": false,
|
|
435
|
+
"type": "boolean"
|
|
436
|
+
},
|
|
437
|
+
"profile": {
|
|
438
|
+
"char": "p",
|
|
439
|
+
"description": "Use a specific profile",
|
|
440
|
+
"name": "profile",
|
|
441
|
+
"hasDynamicHelp": false,
|
|
442
|
+
"multiple": false,
|
|
443
|
+
"type": "option"
|
|
444
|
+
},
|
|
445
|
+
"debug": {
|
|
446
|
+
"description": "Show debug output",
|
|
447
|
+
"name": "debug",
|
|
448
|
+
"allowNo": false,
|
|
449
|
+
"type": "boolean"
|
|
450
|
+
},
|
|
451
|
+
"input": {
|
|
452
|
+
"char": "i",
|
|
453
|
+
"description": "Input parameters as JSON (use \"-\" to read from stdin)",
|
|
454
|
+
"exclusive": [
|
|
455
|
+
"input-file"
|
|
456
|
+
],
|
|
457
|
+
"name": "input",
|
|
458
|
+
"default": "{}",
|
|
459
|
+
"hasDynamicHelp": false,
|
|
460
|
+
"multiple": false,
|
|
461
|
+
"type": "option"
|
|
462
|
+
},
|
|
463
|
+
"input-file": {
|
|
464
|
+
"description": "Read input parameters from a JSON file",
|
|
465
|
+
"exclusive": [
|
|
466
|
+
"input"
|
|
467
|
+
],
|
|
468
|
+
"name": "input-file",
|
|
469
|
+
"hasDynamicHelp": false,
|
|
470
|
+
"multiple": false,
|
|
471
|
+
"type": "option"
|
|
472
|
+
},
|
|
473
|
+
"dry-run": {
|
|
474
|
+
"description": "Preview changes without executing (required for destructive abilities)",
|
|
475
|
+
"exclusive": [
|
|
476
|
+
"confirm"
|
|
477
|
+
],
|
|
478
|
+
"name": "dry-run",
|
|
479
|
+
"allowNo": false,
|
|
480
|
+
"type": "boolean"
|
|
481
|
+
},
|
|
482
|
+
"confirm": {
|
|
483
|
+
"description": "Execute destructive ability (after preview)",
|
|
484
|
+
"exclusive": [
|
|
485
|
+
"dry-run"
|
|
486
|
+
],
|
|
487
|
+
"name": "confirm",
|
|
488
|
+
"allowNo": false,
|
|
489
|
+
"type": "boolean"
|
|
490
|
+
},
|
|
491
|
+
"force": {
|
|
492
|
+
"description": "Skip confirmation prompt (use with --confirm)",
|
|
493
|
+
"name": "force",
|
|
494
|
+
"allowNo": false,
|
|
495
|
+
"type": "boolean"
|
|
496
|
+
},
|
|
497
|
+
"wait": {
|
|
498
|
+
"description": "Wait for batch job to complete (blocks until done)",
|
|
499
|
+
"name": "wait",
|
|
500
|
+
"allowNo": false,
|
|
501
|
+
"type": "boolean"
|
|
502
|
+
},
|
|
503
|
+
"wait-timeout": {
|
|
504
|
+
"description": "Maximum seconds to wait for batch job (default: 300)",
|
|
505
|
+
"name": "wait-timeout",
|
|
506
|
+
"default": 300,
|
|
507
|
+
"hasDynamicHelp": false,
|
|
508
|
+
"multiple": false,
|
|
509
|
+
"type": "option"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"hasDynamicHelp": false,
|
|
513
|
+
"hiddenAliases": [],
|
|
514
|
+
"id": "abilities:run",
|
|
515
|
+
"pluginAlias": "@mainwp/control",
|
|
516
|
+
"pluginName": "@mainwp/control",
|
|
517
|
+
"pluginType": "core",
|
|
518
|
+
"strict": true,
|
|
519
|
+
"isESM": true,
|
|
520
|
+
"relativePath": [
|
|
521
|
+
"dist",
|
|
522
|
+
"commands",
|
|
523
|
+
"abilities",
|
|
524
|
+
"run.js"
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
"config:show": {
|
|
528
|
+
"aliases": [],
|
|
529
|
+
"args": {},
|
|
530
|
+
"description": "Display current configuration and settings",
|
|
531
|
+
"examples": [
|
|
532
|
+
{
|
|
533
|
+
"command": "<%= config.bin %> config show",
|
|
534
|
+
"description": "Show current configuration"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"command": "<%= config.bin %> config show --json",
|
|
538
|
+
"description": "Output configuration in JSON format"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"command": "<%= config.bin %> config show --verbose",
|
|
542
|
+
"description": "Show detailed configuration including all settings"
|
|
543
|
+
}
|
|
544
|
+
],
|
|
545
|
+
"flags": {
|
|
546
|
+
"json": {
|
|
547
|
+
"description": "Output JSON (for scripting/CI)",
|
|
548
|
+
"name": "json",
|
|
549
|
+
"allowNo": false,
|
|
550
|
+
"type": "boolean"
|
|
551
|
+
},
|
|
552
|
+
"quiet": {
|
|
553
|
+
"char": "q",
|
|
554
|
+
"description": "Suppress output (exit code only)",
|
|
555
|
+
"name": "quiet",
|
|
556
|
+
"allowNo": false,
|
|
557
|
+
"type": "boolean"
|
|
558
|
+
},
|
|
559
|
+
"profile": {
|
|
560
|
+
"char": "p",
|
|
561
|
+
"description": "Use a specific profile",
|
|
562
|
+
"name": "profile",
|
|
563
|
+
"hasDynamicHelp": false,
|
|
564
|
+
"multiple": false,
|
|
565
|
+
"type": "option"
|
|
566
|
+
},
|
|
567
|
+
"debug": {
|
|
568
|
+
"description": "Show debug output",
|
|
569
|
+
"name": "debug",
|
|
570
|
+
"allowNo": false,
|
|
571
|
+
"type": "boolean"
|
|
572
|
+
},
|
|
573
|
+
"verbose": {
|
|
574
|
+
"char": "v",
|
|
575
|
+
"description": "Show detailed output including all settings",
|
|
576
|
+
"name": "verbose",
|
|
577
|
+
"allowNo": false,
|
|
578
|
+
"type": "boolean"
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"hasDynamicHelp": false,
|
|
582
|
+
"hiddenAliases": [],
|
|
583
|
+
"id": "config:show",
|
|
584
|
+
"pluginAlias": "@mainwp/control",
|
|
585
|
+
"pluginName": "@mainwp/control",
|
|
586
|
+
"pluginType": "core",
|
|
587
|
+
"strict": true,
|
|
588
|
+
"isESM": true,
|
|
589
|
+
"relativePath": [
|
|
590
|
+
"dist",
|
|
591
|
+
"commands",
|
|
592
|
+
"config",
|
|
593
|
+
"show.js"
|
|
594
|
+
]
|
|
595
|
+
},
|
|
596
|
+
"jobs:watch": {
|
|
597
|
+
"aliases": [],
|
|
598
|
+
"args": {
|
|
599
|
+
"id": {
|
|
600
|
+
"description": "Batch job ID",
|
|
601
|
+
"name": "id",
|
|
602
|
+
"required": true
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"description": "Monitor batch job status",
|
|
606
|
+
"examples": [
|
|
607
|
+
"<%= config.bin %> jobs watch sync_abc123",
|
|
608
|
+
"<%= config.bin %> jobs watch sync_abc123 --timeout 120",
|
|
609
|
+
"<%= config.bin %> jobs watch sync_abc123 --json",
|
|
610
|
+
"<%= config.bin %> jobs watch sync_abc123 --initial-delay 2000 --max-delay 60000"
|
|
611
|
+
],
|
|
612
|
+
"flags": {
|
|
613
|
+
"json": {
|
|
614
|
+
"description": "Output JSON (for scripting/CI)",
|
|
615
|
+
"name": "json",
|
|
616
|
+
"allowNo": false,
|
|
617
|
+
"type": "boolean"
|
|
618
|
+
},
|
|
619
|
+
"quiet": {
|
|
620
|
+
"char": "q",
|
|
621
|
+
"description": "Suppress output (exit code only)",
|
|
622
|
+
"name": "quiet",
|
|
623
|
+
"allowNo": false,
|
|
624
|
+
"type": "boolean"
|
|
625
|
+
},
|
|
626
|
+
"profile": {
|
|
627
|
+
"char": "p",
|
|
628
|
+
"description": "Use a specific profile",
|
|
629
|
+
"name": "profile",
|
|
630
|
+
"hasDynamicHelp": false,
|
|
631
|
+
"multiple": false,
|
|
632
|
+
"type": "option"
|
|
633
|
+
},
|
|
634
|
+
"debug": {
|
|
635
|
+
"description": "Show debug output",
|
|
636
|
+
"name": "debug",
|
|
637
|
+
"allowNo": false,
|
|
638
|
+
"type": "boolean"
|
|
639
|
+
},
|
|
640
|
+
"timeout": {
|
|
641
|
+
"char": "t",
|
|
642
|
+
"description": "Maximum wait time in seconds (default: 300)",
|
|
643
|
+
"name": "timeout",
|
|
644
|
+
"default": 300,
|
|
645
|
+
"hasDynamicHelp": false,
|
|
646
|
+
"multiple": false,
|
|
647
|
+
"type": "option"
|
|
648
|
+
},
|
|
649
|
+
"initial-delay": {
|
|
650
|
+
"description": "Initial poll delay in milliseconds",
|
|
651
|
+
"name": "initial-delay",
|
|
652
|
+
"default": 1000,
|
|
653
|
+
"hasDynamicHelp": false,
|
|
654
|
+
"multiple": false,
|
|
655
|
+
"type": "option"
|
|
656
|
+
},
|
|
657
|
+
"max-delay": {
|
|
658
|
+
"description": "Maximum poll delay in milliseconds",
|
|
659
|
+
"name": "max-delay",
|
|
660
|
+
"default": 30000,
|
|
661
|
+
"hasDynamicHelp": false,
|
|
662
|
+
"multiple": false,
|
|
663
|
+
"type": "option"
|
|
664
|
+
},
|
|
665
|
+
"no-progress": {
|
|
666
|
+
"description": "Disable progress output (only show final result)",
|
|
667
|
+
"name": "no-progress",
|
|
668
|
+
"allowNo": false,
|
|
669
|
+
"type": "boolean"
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"hasDynamicHelp": false,
|
|
673
|
+
"hiddenAliases": [],
|
|
674
|
+
"id": "jobs:watch",
|
|
675
|
+
"pluginAlias": "@mainwp/control",
|
|
676
|
+
"pluginName": "@mainwp/control",
|
|
677
|
+
"pluginType": "core",
|
|
678
|
+
"strict": true,
|
|
679
|
+
"isESM": true,
|
|
680
|
+
"relativePath": [
|
|
681
|
+
"dist",
|
|
682
|
+
"commands",
|
|
683
|
+
"jobs",
|
|
684
|
+
"watch.js"
|
|
685
|
+
]
|
|
686
|
+
},
|
|
687
|
+
"profile:delete": {
|
|
688
|
+
"aliases": [],
|
|
689
|
+
"args": {
|
|
690
|
+
"name": {
|
|
691
|
+
"description": "Profile name to delete",
|
|
692
|
+
"name": "name",
|
|
693
|
+
"required": true
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
"description": "Delete a Dashboard profile",
|
|
697
|
+
"examples": [
|
|
698
|
+
"<%= config.bin %> profile delete staging",
|
|
699
|
+
"<%= config.bin %> profile delete old-profile --json"
|
|
700
|
+
],
|
|
701
|
+
"flags": {
|
|
702
|
+
"json": {
|
|
703
|
+
"description": "Output JSON (for scripting/CI)",
|
|
704
|
+
"name": "json",
|
|
705
|
+
"allowNo": false,
|
|
706
|
+
"type": "boolean"
|
|
707
|
+
},
|
|
708
|
+
"quiet": {
|
|
709
|
+
"char": "q",
|
|
710
|
+
"description": "Suppress output (exit code only)",
|
|
711
|
+
"name": "quiet",
|
|
712
|
+
"allowNo": false,
|
|
713
|
+
"type": "boolean"
|
|
714
|
+
},
|
|
715
|
+
"profile": {
|
|
716
|
+
"char": "p",
|
|
717
|
+
"description": "Use a specific profile",
|
|
718
|
+
"name": "profile",
|
|
719
|
+
"hasDynamicHelp": false,
|
|
720
|
+
"multiple": false,
|
|
721
|
+
"type": "option"
|
|
722
|
+
},
|
|
723
|
+
"debug": {
|
|
724
|
+
"description": "Show debug output",
|
|
725
|
+
"name": "debug",
|
|
726
|
+
"allowNo": false,
|
|
727
|
+
"type": "boolean"
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
"hasDynamicHelp": false,
|
|
731
|
+
"hiddenAliases": [],
|
|
732
|
+
"id": "profile:delete",
|
|
733
|
+
"pluginAlias": "@mainwp/control",
|
|
734
|
+
"pluginName": "@mainwp/control",
|
|
735
|
+
"pluginType": "core",
|
|
736
|
+
"strict": true,
|
|
737
|
+
"isESM": true,
|
|
738
|
+
"relativePath": [
|
|
739
|
+
"dist",
|
|
740
|
+
"commands",
|
|
741
|
+
"profile",
|
|
742
|
+
"delete.js"
|
|
743
|
+
]
|
|
744
|
+
},
|
|
745
|
+
"profile:list": {
|
|
746
|
+
"aliases": [],
|
|
747
|
+
"args": {},
|
|
748
|
+
"description": "List saved Dashboard profiles",
|
|
749
|
+
"examples": [
|
|
750
|
+
"<%= config.bin %> profile list",
|
|
751
|
+
"<%= config.bin %> profile list --json"
|
|
752
|
+
],
|
|
753
|
+
"flags": {
|
|
754
|
+
"json": {
|
|
755
|
+
"description": "Output JSON (for scripting/CI)",
|
|
756
|
+
"name": "json",
|
|
757
|
+
"allowNo": false,
|
|
758
|
+
"type": "boolean"
|
|
759
|
+
},
|
|
760
|
+
"quiet": {
|
|
761
|
+
"char": "q",
|
|
762
|
+
"description": "Suppress output (exit code only)",
|
|
763
|
+
"name": "quiet",
|
|
764
|
+
"allowNo": false,
|
|
765
|
+
"type": "boolean"
|
|
766
|
+
},
|
|
767
|
+
"profile": {
|
|
768
|
+
"char": "p",
|
|
769
|
+
"description": "Use a specific profile",
|
|
770
|
+
"name": "profile",
|
|
771
|
+
"hasDynamicHelp": false,
|
|
772
|
+
"multiple": false,
|
|
773
|
+
"type": "option"
|
|
774
|
+
},
|
|
775
|
+
"debug": {
|
|
776
|
+
"description": "Show debug output",
|
|
777
|
+
"name": "debug",
|
|
778
|
+
"allowNo": false,
|
|
779
|
+
"type": "boolean"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
"hasDynamicHelp": false,
|
|
783
|
+
"hiddenAliases": [],
|
|
784
|
+
"id": "profile:list",
|
|
785
|
+
"pluginAlias": "@mainwp/control",
|
|
786
|
+
"pluginName": "@mainwp/control",
|
|
787
|
+
"pluginType": "core",
|
|
788
|
+
"strict": true,
|
|
789
|
+
"isESM": true,
|
|
790
|
+
"relativePath": [
|
|
791
|
+
"dist",
|
|
792
|
+
"commands",
|
|
793
|
+
"profile",
|
|
794
|
+
"list.js"
|
|
795
|
+
]
|
|
796
|
+
},
|
|
797
|
+
"profile:use": {
|
|
798
|
+
"aliases": [],
|
|
799
|
+
"args": {
|
|
800
|
+
"name": {
|
|
801
|
+
"description": "Profile name to activate",
|
|
802
|
+
"name": "name",
|
|
803
|
+
"required": true
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
"description": "Switch active Dashboard profile",
|
|
807
|
+
"examples": [
|
|
808
|
+
"<%= config.bin %> profile use production",
|
|
809
|
+
"<%= config.bin %> profile use staging --json"
|
|
810
|
+
],
|
|
811
|
+
"flags": {
|
|
812
|
+
"json": {
|
|
813
|
+
"description": "Output JSON (for scripting/CI)",
|
|
814
|
+
"name": "json",
|
|
815
|
+
"allowNo": false,
|
|
816
|
+
"type": "boolean"
|
|
817
|
+
},
|
|
818
|
+
"quiet": {
|
|
819
|
+
"char": "q",
|
|
820
|
+
"description": "Suppress output (exit code only)",
|
|
821
|
+
"name": "quiet",
|
|
822
|
+
"allowNo": false,
|
|
823
|
+
"type": "boolean"
|
|
824
|
+
},
|
|
825
|
+
"profile": {
|
|
826
|
+
"char": "p",
|
|
827
|
+
"description": "Use a specific profile",
|
|
828
|
+
"name": "profile",
|
|
829
|
+
"hasDynamicHelp": false,
|
|
830
|
+
"multiple": false,
|
|
831
|
+
"type": "option"
|
|
832
|
+
},
|
|
833
|
+
"debug": {
|
|
834
|
+
"description": "Show debug output",
|
|
835
|
+
"name": "debug",
|
|
836
|
+
"allowNo": false,
|
|
837
|
+
"type": "boolean"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
"hasDynamicHelp": false,
|
|
841
|
+
"hiddenAliases": [],
|
|
842
|
+
"id": "profile:use",
|
|
843
|
+
"pluginAlias": "@mainwp/control",
|
|
844
|
+
"pluginName": "@mainwp/control",
|
|
845
|
+
"pluginType": "core",
|
|
846
|
+
"strict": true,
|
|
847
|
+
"isESM": true,
|
|
848
|
+
"relativePath": [
|
|
849
|
+
"dist",
|
|
850
|
+
"commands",
|
|
851
|
+
"profile",
|
|
852
|
+
"use.js"
|
|
853
|
+
]
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"version": "1.0.0"
|
|
857
|
+
}
|