@deepdynamic/cli 0.1.0 → 0.1.1
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/dist/agents/content.js +1 -1
- package/dist/agents/install.js +22 -12
- package/dist/agents/refresh.js +20 -0
- package/dist/agents/setup.js +7 -7
- package/dist/cli.js +8 -8
- package/dist/commands/account.js +19 -19
- package/dist/commands/activity.js +13 -13
- package/dist/commands/blocked.js +16 -16
- package/dist/commands/deploy/index.js +16 -16
- package/dist/commands/deploy/ship.js +8 -8
- package/dist/commands/deployments.js +8 -7
- package/dist/commands/dns.js +228 -242
- package/dist/commands/domains.js +188 -260
- package/dist/commands/emails.js +17 -17
- package/dist/commands/env.js +38 -38
- package/dist/commands/help.js +18 -19
- package/dist/commands/keys.js +83 -89
- package/dist/commands/login/flow.js +11 -11
- package/dist/commands/login/index.js +3 -3
- package/dist/commands/logout.js +11 -11
- package/dist/commands/mail.js +62 -62
- package/dist/commands/notifications.js +30 -29
- package/dist/commands/plan.js +109 -125
- package/dist/commands/projects.js +159 -157
- package/dist/commands/reference.js +109 -102
- package/dist/commands/search.js +29 -18
- package/dist/commands/server.js +99 -112
- package/dist/commands/sessions.js +38 -44
- package/dist/commands/sites.js +16 -16
- package/dist/commands/sms.js +14 -14
- package/dist/commands/status.js +9 -9
- package/dist/commands/support.js +19 -19
- package/dist/commands/update.js +18 -16
- package/dist/commands/usage.js +12 -12
- package/dist/commands/verify.js +16 -16
- package/dist/guide.js +9 -48
- package/dist/http/request.js +3 -3
- package/dist/pretty.js +4 -4
- package/dist/refresh-skills.js +5 -0
- package/dist/registry.js +72 -144
- package/dist/runtime/card-request.js +6 -6
- package/dist/runtime/confirm.js +1 -1
- package/dist/runtime/development.js +1 -1
- package/dist/runtime/dry-run.js +2 -2
- package/dist/runtime/env-file.js +6 -9
- package/dist/runtime/flags.js +11 -13
- package/dist/runtime/login-screen.js +5 -5
- package/dist/runtime/page.js +4 -4
- package/dist/runtime/server-options.js +4 -8
- package/dist/runtime/spinner.js +3 -1
- package/dist/runtime/support.js +2 -3
- package/dist/runtime/text-file.js +5 -5
- package/dist/runtime/timeout.js +2 -2
- package/dist/runtime/update-check.js +48 -14
- package/dist/runtime/update-install.js +34 -4
- package/dist/runtime/usage-error.js +2 -2
- package/dist/setup-agents.js +9 -2
- package/package.json +1 -1
|
@@ -9,8 +9,8 @@ import { LOGIN_TIMEOUT_OPTION } from "../runtime/timeout.js";
|
|
|
9
9
|
import { SUPPORT_HELP } from "../runtime/support.js";
|
|
10
10
|
export const HELP_USAGE = 'deepdynamic <command> --help';
|
|
11
11
|
const READ_DRY_RUN = { flag: '--dry-run', description: 'Validate the options and return the request in request without sending it.' };
|
|
12
|
-
const READ_DRY_RUN_PRETTY = ['--dry-run', '
|
|
13
|
-
const SEND_DRY_RUN_PRETTY = ['--dry-run', '
|
|
12
|
+
const READ_DRY_RUN_PRETTY = ['--dry-run', 'Check without sending the request'];
|
|
13
|
+
const SEND_DRY_RUN_PRETTY = ['--dry-run', 'Run the server checks without sending'];
|
|
14
14
|
const DRY_RUN_RESULT = 'true when --dry-run was given and the server checked everything without sending. delivered is false and id is absent.';
|
|
15
15
|
const SIGN_IN_NOTE = `Without a saved login, or when the server rejects the saved token, the command opens the browser sign-in page, waits up to ${LOGIN_TIMEOUT_MS / 60_000} minutes for the user and then continues by itself. Tell the user a sign-in window is opening. If your shell has a shorter time limit, add ${LOGIN_TIMEOUT_OPTION} <seconds> below it. If sign-in fails, the output is the deepdynamic login error (command: login).`;
|
|
16
16
|
const LOGIN_TIMEOUT = {
|
|
@@ -18,7 +18,7 @@ const LOGIN_TIMEOUT = {
|
|
|
18
18
|
description: `Seconds to wait for the user in the sign-in window, 1-${LOGIN_TIMEOUT_MS / 1000}. Accepted by every command. When they run out the command fails with login_timeout and that window can no longer sign in. Set it below the time limit of your shell.`,
|
|
19
19
|
default: String(LOGIN_TIMEOUT_MS / 1000)
|
|
20
20
|
};
|
|
21
|
-
const LOGIN_TIMEOUT_PRETTY = [LOGIN_TIMEOUT_OPTION,
|
|
21
|
+
const LOGIN_TIMEOUT_PRETTY = [LOGIN_TIMEOUT_OPTION, `Max seconds to wait for sign-in, 1-${LOGIN_TIMEOUT_MS / 1000} (default ${LOGIN_TIMEOUT_MS / 1000})`];
|
|
22
22
|
const BODY_FILE_NOTE = 'A leading BOM and one trailing line break are removed and the rest is sent as written. Use it for text with line breaks or quotes instead of escaping them for the shell.';
|
|
23
23
|
const LOGIN_REQUIRED = 'The server rejected the token even after a fresh sign-in. Run deepdynamic login, then retry.';
|
|
24
24
|
const CONNECTION_ERRORS = {
|
|
@@ -30,13 +30,13 @@ const PUBLISH_TIMEOUT = {
|
|
|
30
30
|
description: `Seconds to wait for publishing after the upload, 0-${PUBLISH_WAIT_SECONDS}. When they run out the command exits 1 with publish_pending while publishing goes on; continue with deepdynamic deployments <id>. 0 checks once and returns. Set it below the time limit of your shell.`,
|
|
31
31
|
default: String(PUBLISH_WAIT_SECONDS)
|
|
32
32
|
};
|
|
33
|
-
const PUBLISH_TIMEOUT_PRETTY = ['--timeout',
|
|
33
|
+
const PUBLISH_TIMEOUT_PRETTY = ['--timeout', `Max seconds to wait for publishing, 0-${PUBLISH_WAIT_SECONDS} (default ${PUBLISH_WAIT_SECONDS})`];
|
|
34
34
|
const PROGRESS_ADVANCE_NOTE = 'The server moves a deploy forward only while its progress is read. After publish_pending, keep running deepdynamic deployments <id> every forAgent.pollAfterMs until forAgent.status is succeeded or failed.';
|
|
35
35
|
const PUBLISH_PENDING_RECHECK = 'Keep running deepdynamic deployments <id> until forAgent.status is succeeded or failed';
|
|
36
36
|
const UPLOAD_UNVERIFIED = 'Git finished but the server did not confirm the commit. Check deepdynamic deployments <id>.';
|
|
37
37
|
const PROGRESS_UNAVAILABLE = 'Progress could not be read. Check deepdynamic deployments <id> before retrying.';
|
|
38
38
|
const PAGE = { flag: '--page', description: 'Page number starting at 1.', default: '1' };
|
|
39
|
-
const PAGE_PRETTY = ['--page', '
|
|
39
|
+
const PAGE_PRETTY = ['--page', 'Page number, 20 per page (default 1)'];
|
|
40
40
|
const PAGE_LIMIT = '20 per page. The page size cannot be changed. A page past the last one succeeds with an empty list.';
|
|
41
41
|
const PAGE_RESULT = {
|
|
42
42
|
total: 'Number of items across all pages.',
|
|
@@ -46,7 +46,7 @@ const PAGE_RESULT = {
|
|
|
46
46
|
next: 'Command for the next page, or null on the last page.'
|
|
47
47
|
};
|
|
48
48
|
const YES = { flag: '--yes', description: 'Required to apply. Ask the user first: without it nothing is sent, the command exits 3 with confirmation_required and error.next holds the same command with --yes. Not needed with --dry-run.', required: true };
|
|
49
|
-
const YES_PRETTY = ['--yes', '
|
|
49
|
+
const YES_PRETTY = ['--yes', 'Apply after the user confirms (required)'];
|
|
50
50
|
const CONFIRMATION_REQUIRED = 'Exit code 3. --yes was missing, so nothing was sent. Confirm with the user, then run error.next.';
|
|
51
51
|
const CARD_REQUIRED = 'Exit code 1. This goes beyond the free tier (more projects than the free limit, a server spec with an extra charge, autopilot, a domain purchase or a paid plan) and the account has no billing card, so nothing was changed. The CLI opened the card registration page in the user\'s browser. cardRegistration is { url, agent, ip }: url is that page for this account; never send it anywhere other than the user\'s browser. agent is the agent code (OTH when unknown) and ip is the IP of this device, or null. If no browser opened, show url to the user. After the user adds a card, run the same command again.';
|
|
52
52
|
const PLAN_PRICES_NOTE = 'Plans: free costs nothing, pro 9,900 KRW and team 29,000 KRW a month, paid automatically with the billing card once a calendar month in Korea time (KST).';
|
|
@@ -70,7 +70,7 @@ const DNS_APPLY_NOTE = 'When the zone is ready the change is applied to the DNS
|
|
|
70
70
|
const DNS_DRY_RUN_NOTE = 'With --dry-run only the format of the input is checked and nothing is sent: dryRun is true, applied is false and plan and request hold what would be sent. Whether the domain, record or project exists is not checked then.';
|
|
71
71
|
const DNS_READ_DRY_RUN = { flag: '--dry-run', description: 'Checks the input and returns the GET request it would send without sending it.' };
|
|
72
72
|
const DNS_CHANGE_DRY_RUN = { flag: '--dry-run', description: 'Checks the input and returns the plan and the request it would send without applying anything.' };
|
|
73
|
-
const DNS_CHANGE_DRY_RUN_PRETTY = ['--dry-run', '
|
|
73
|
+
const DNS_CHANGE_DRY_RUN_PRETTY = ['--dry-run', 'Show the plan and request without applying'];
|
|
74
74
|
const DNS_READ_DRY_RUN_RESULT = 'true with --dry-run. request then holds the GET request { method, url } and nothing was sent.';
|
|
75
75
|
const DNS_ZONE_RESULT = '{ domain, project, projectName, flightNumber, status: pending|ready, siteName, target, connected, nameservers, records, dnssec: on|enabling|disabling|off|unsupported|null }. project is null when the domain was bought or registered without a project (DNS only; connect one with deepdynamic dns restore) or the project was deleted. siteName is the host that deepdynamic dns restore connects, www at first. target is <project>.deepdynamic.dev. records are { id, type, name, value, ttl, priority }; ttl 1 means auto and priority is present only for MX. The NS and SOA records of the domain itself are not listed. dnssec on: the zone is signed and its DS record is registered at the registrar. enabling: signing and DS registration are in progress and usually finish within minutes. disabling: it was turned off, the DS record is removed and the zone is unsigned 2 days later. off: the zone is not signed. unsupported: the registrar rejected the DS record, likely because the TLD does not support DNSSEC, so it cannot be turned on. null: the domain was bought elsewhere and DNSSEC is not managed here. searchConsole is { connectedAt, value } once deepdynamic dns google finished adding the domain to Google Search Console, otherwise null; value is the @ TXT ownership record it added, and deleting or changing that record sets searchConsole back to null until the domain is registered again. analytics is { connectedAt, measurementId, property } once deepdynamic dns analytics finished creating a GA4 property and its Google tag is added to the domain and its site host, otherwise null (never registered, or removed with deepdynamic dns analytics <domain> off); measurementId is the GA4 web stream ID such as G-1A2BCD345E and property is the GA4 property name such as properties/123456789.';
|
|
76
76
|
const DNS_ZONES_RESULT = `Array of zones, newest purchase first. Each zone is ${DNS_ZONE_RESULT}`;
|
|
@@ -103,11 +103,11 @@ const DNS_RECORD_OPTIONS = [
|
|
|
103
103
|
DNS_CHANGE_DRY_RUN
|
|
104
104
|
];
|
|
105
105
|
const DNS_RECORD_PRETTY_OPTIONS = [
|
|
106
|
-
['--type',
|
|
107
|
-
['--name', '@
|
|
108
|
-
['--value', '
|
|
109
|
-
['--ttl', 'auto(
|
|
110
|
-
['--priority', 'MX
|
|
106
|
+
['--type', `Record type such as A, AAAA, CNAME, MX or TXT, ${DNS_RECORD_TYPES.length} in all (required)`],
|
|
107
|
+
['--name', 'Host part such as @ or www (required)'],
|
|
108
|
+
['--value', 'Value in the format of the type (required)'],
|
|
109
|
+
['--ttl', 'auto (default), 300, 3600 or 86400'],
|
|
110
|
+
['--priority', 'MX priority 0-65535 (required for MX)'],
|
|
111
111
|
DNS_CHANGE_DRY_RUN_PRETTY
|
|
112
112
|
];
|
|
113
113
|
const KEYS_SECRET_NOTE = 'The key value is shown only once when it is actually issued; never print or store it.';
|
|
@@ -125,7 +125,7 @@ export const details = {
|
|
|
125
125
|
{ flag: '--dry-run', description: 'Validate the options and return the approval page in request without opening a browser.' }
|
|
126
126
|
],
|
|
127
127
|
examples: ['deepdynamic login', `deepdynamic login ${LOGIN_TIMEOUT_OPTION} 100`],
|
|
128
|
-
prettyOptions: [['--server', '
|
|
128
|
+
prettyOptions: [['--server', 'Login server URL (release builds accept only the official one)'], LOGIN_TIMEOUT_PRETTY, ['--dry-run', 'Check without opening the browser']]
|
|
129
129
|
},
|
|
130
130
|
'logout': {
|
|
131
131
|
options: [{ flag: '--dry-run', description: 'Return the revoke request in request without sending it or deleting the credentials.' }],
|
|
@@ -144,7 +144,7 @@ export const details = {
|
|
|
144
144
|
...CONNECTION_ERRORS
|
|
145
145
|
},
|
|
146
146
|
examples: ['deepdynamic logout'],
|
|
147
|
-
prettyOptions: [['--dry-run', '
|
|
147
|
+
prettyOptions: [['--dry-run', 'Check without revoking or deleting the token']]
|
|
148
148
|
},
|
|
149
149
|
'account get': {
|
|
150
150
|
options: [READ_DRY_RUN],
|
|
@@ -174,7 +174,7 @@ export const details = {
|
|
|
174
174
|
connection_timeout: 'No response within 10 seconds. Retry later.'
|
|
175
175
|
},
|
|
176
176
|
examples: ['deepdynamic system status'],
|
|
177
|
-
prettyOptions: [['--server', '
|
|
177
|
+
prettyOptions: [['--server', 'Server URL to check (release builds accept only the official one)'], READ_DRY_RUN_PRETTY]
|
|
178
178
|
},
|
|
179
179
|
'verify': {
|
|
180
180
|
options: [
|
|
@@ -203,13 +203,13 @@ export const details = {
|
|
|
203
203
|
connection_timeout: 'No response within 10 seconds. Retry later.'
|
|
204
204
|
},
|
|
205
205
|
examples: ['deepdynamic verify', 'deepdynamic verify --save ./ddn.js', 'deepdynamic verify --file ./ddn.js'],
|
|
206
|
-
prettyOptions: [['--save', '
|
|
206
|
+
prettyOptions: [['--save', 'Save the verified ddn.js to this path'], ['--file', 'Also compare a local copy of ddn.js'], ['--server', 'Server URL to check (release builds accept only the official one)'], READ_DRY_RUN_PRETTY]
|
|
207
207
|
},
|
|
208
208
|
'help': {
|
|
209
209
|
options: [{ flag: '--all', description: 'Return the full command tree, the same output as deepdynamic commands.' }],
|
|
210
210
|
notes: ['deepdynamic <command> --help shows the options, result fields, errors and examples of one command or a group.'],
|
|
211
211
|
examples: ['deepdynamic help', 'deepdynamic help --all'],
|
|
212
|
-
prettyOptions: [['--all', '
|
|
212
|
+
prettyOptions: [['--all', 'Show the full command tree']]
|
|
213
213
|
},
|
|
214
214
|
'commands': {
|
|
215
215
|
notes: [
|
|
@@ -252,7 +252,7 @@ export const details = {
|
|
|
252
252
|
...CONNECTION_ERRORS
|
|
253
253
|
},
|
|
254
254
|
examples: ['deepdynamic update', 'deepdynamic update --yes'],
|
|
255
|
-
prettyOptions: [['--yes', '
|
|
255
|
+
prettyOptions: [['--yes', 'Install the newer version'], ['--dry-run', 'Check without requesting or installing']]
|
|
256
256
|
},
|
|
257
257
|
'sites': {
|
|
258
258
|
options: [
|
|
@@ -280,8 +280,8 @@ export const details = {
|
|
|
280
280
|
},
|
|
281
281
|
examples: ['deepdynamic sites', 'deepdynamic sites --page 2'],
|
|
282
282
|
prettyOptions: [
|
|
283
|
-
['--page', '
|
|
284
|
-
['--server', '
|
|
283
|
+
['--page', 'Page number, 10 per page (default 1)'],
|
|
284
|
+
['--server', 'Server URL to query (release builds accept only the official one)'],
|
|
285
285
|
READ_DRY_RUN_PRETTY
|
|
286
286
|
]
|
|
287
287
|
},
|
|
@@ -322,17 +322,17 @@ export const details = {
|
|
|
322
322
|
},
|
|
323
323
|
examples: ['deepdynamic sites blocked', 'deepdynamic sites blocked --ray 8f1e2d3c4b5a6978', 'deepdynamic sites blocked --host example.com --date 2026-11-10', 'deepdynamic sites blocked --page 2 --dry-run'],
|
|
324
324
|
prettyOptions: [
|
|
325
|
-
['--page', '
|
|
326
|
-
['--ray', '
|
|
327
|
-
['--host', '
|
|
328
|
-
['--date', '
|
|
325
|
+
['--page', 'Page number, 20 per page (default 1)'],
|
|
326
|
+
['--ray', 'ID shown on the block page (16 hex characters)'],
|
|
327
|
+
['--host', 'Only records for this host and its subdomains'],
|
|
328
|
+
['--date', 'Day as YYYY-MM-DD in UTC (default all days)'],
|
|
329
329
|
READ_DRY_RUN_PRETTY
|
|
330
330
|
]
|
|
331
331
|
},
|
|
332
332
|
'search': {
|
|
333
333
|
options: [{ flag: '--server', description: 'Override the saved login server URL. The released CLI accepts only https://cloud.deepdynamic.net.', default: SITE_URL }, READ_DRY_RUN],
|
|
334
334
|
notes: [
|
|
335
|
-
'The page is the website path, such as /pricing, /services, /contact, /docs or /. A missing leading slash is added.',
|
|
335
|
+
'The page is the website path, such as /pricing, /services, /contact, /docs or /. A missing leading slash is added, and the path is normalized: empty and . segments are dropped and .. goes up one level.',
|
|
336
336
|
'An unknown page fails with page_not_found, and error.pages lists every searchable page.'
|
|
337
337
|
],
|
|
338
338
|
result: {
|
|
@@ -348,15 +348,15 @@ export const details = {
|
|
|
348
348
|
},
|
|
349
349
|
examples: ['deepdynamic search /pricing', 'deepdynamic search /docs/dev'],
|
|
350
350
|
prettyOptions: [
|
|
351
|
-
['
|
|
352
|
-
['--server', '
|
|
351
|
+
['<page>', 'Page path to look up, such as /pricing (required)'],
|
|
352
|
+
['--server', 'Server URL to query (release builds accept only the official one)'],
|
|
353
353
|
READ_DRY_RUN_PRETTY
|
|
354
354
|
]
|
|
355
355
|
},
|
|
356
356
|
'support qa': {
|
|
357
357
|
options: [{ flag: '--server', description: 'Override the saved login server URL. The released CLI accepts only https://cloud.deepdynamic.net.', default: SITE_URL }, READ_DRY_RUN],
|
|
358
358
|
examples: ['deepdynamic support qa'],
|
|
359
|
-
prettyOptions: [['--server', '
|
|
359
|
+
prettyOptions: [['--server', 'Server URL to query (release builds accept only the official one)'], READ_DRY_RUN_PRETTY]
|
|
360
360
|
},
|
|
361
361
|
'support contact': {
|
|
362
362
|
options: [
|
|
@@ -381,9 +381,9 @@ export const details = {
|
|
|
381
381
|
},
|
|
382
382
|
examples: ['deepdynamic support contact --message "Deploy fails with HTTP 500 since this morning."', 'deepdynamic support contact --message-file ./inquiry.txt'],
|
|
383
383
|
prettyOptions: [
|
|
384
|
-
['--message', '
|
|
385
|
-
['--message-file', '
|
|
386
|
-
['--team', '
|
|
384
|
+
['--message', 'Inquiry text, up to 5000 characters (or --message-file)'],
|
|
385
|
+
['--message-file', 'UTF-8 file with the inquiry text (instead of --message)'],
|
|
386
|
+
['--team', 'Teammate email to copy on the reply, up to 3 times'],
|
|
387
387
|
SEND_DRY_RUN_PRETTY
|
|
388
388
|
]
|
|
389
389
|
},
|
|
@@ -426,10 +426,10 @@ export const details = {
|
|
|
426
426
|
'deepdynamic emails send --to client@example.com --title "Deploy finished" --body-file ./mail.txt'
|
|
427
427
|
],
|
|
428
428
|
prettyOptions: [
|
|
429
|
-
['--to', '
|
|
430
|
-
['--title', '
|
|
431
|
-
['--body', '
|
|
432
|
-
['--body-file', '
|
|
429
|
+
['--to', 'One recipient email address (required)'],
|
|
430
|
+
['--title', 'Subject, up to 200 characters, no line breaks (required)'],
|
|
431
|
+
['--body', 'Body, up to 10000 characters, \\n for a line break (or --body-file)'],
|
|
432
|
+
['--body-file', 'UTF-8 file with the body (instead of --body)'],
|
|
433
433
|
SEND_DRY_RUN_PRETTY
|
|
434
434
|
]
|
|
435
435
|
},
|
|
@@ -464,9 +464,9 @@ export const details = {
|
|
|
464
464
|
},
|
|
465
465
|
examples: ['deepdynamic sms send --to 01012345678 --body "Deploy finished."', 'deepdynamic sms send --to 01012345678 --body-file ./sms.txt'],
|
|
466
466
|
prettyOptions: [
|
|
467
|
-
['--to', '
|
|
468
|
-
['--body', '
|
|
469
|
-
['--body-file', '
|
|
467
|
+
['--to', 'One Korean mobile number (required)'],
|
|
468
|
+
['--body', 'Body, up to 72 bytes or 36 Korean characters (or --body-file)'],
|
|
469
|
+
['--body-file', 'UTF-8 file with the body (instead of --body)'],
|
|
470
470
|
SEND_DRY_RUN_PRETTY
|
|
471
471
|
]
|
|
472
472
|
},
|
|
@@ -476,7 +476,7 @@ export const details = {
|
|
|
476
476
|
SIGN_IN_NOTE,
|
|
477
477
|
'Run it without a subcommand. Only active projects are listed, 20 per page, ordered by the last deploy activity, or the creation time for projects never deployed.',
|
|
478
478
|
'status comes from the latest deploy run: published, deploying (a run updated within 15 minutes), failed (failed or interrupted) or none. When it is failed, live still holds the site that stays published.',
|
|
479
|
-
'When server.stage is stopped while live is set, the server was turned off with deepdynamic projects stop and the site is offline until the next deploy. --pretty
|
|
479
|
+
'When server.stage is stopped while live is set, the server was turned off with deepdynamic projects stop and the site is offline until the next deploy. --pretty marks it as server off.',
|
|
480
480
|
'The list only reads the saved server state and does not advance servers that are still being prepared. Use deepdynamic projects status <name> for that and for the issued address in --pretty.',
|
|
481
481
|
'A page past the last one succeeds with an empty projects array.'
|
|
482
482
|
],
|
|
@@ -494,7 +494,7 @@ export const details = {
|
|
|
494
494
|
...CONNECTION_ERRORS
|
|
495
495
|
},
|
|
496
496
|
examples: ['deepdynamic projects', 'deepdynamic projects --page 2'],
|
|
497
|
-
prettyOptions: [['--page', '
|
|
497
|
+
prettyOptions: [['--page', 'Page number, 20 per page (default 1)'], READ_DRY_RUN_PRETTY]
|
|
498
498
|
},
|
|
499
499
|
'projects create': {
|
|
500
500
|
options: [
|
|
@@ -537,7 +537,7 @@ export const details = {
|
|
|
537
537
|
...CONNECTION_ERRORS
|
|
538
538
|
},
|
|
539
539
|
examples: ['deepdynamic projects create mokdong-noodle --dry-run', 'deepdynamic projects create mokdong-noodle', 'deepdynamic projects create mokdong-noodle --timeout 90'],
|
|
540
|
-
prettyOptions: [['--timeout',
|
|
540
|
+
prettyOptions: [['--timeout', `Max seconds to wait for the server, 0-${SERVER_WAIT_SECONDS} (default ${SERVER_WAIT_SECONDS})`], ['--dry-run', 'Check the name without creating anything']]
|
|
541
541
|
},
|
|
542
542
|
'projects status': {
|
|
543
543
|
options: [READ_DRY_RUN],
|
|
@@ -573,7 +573,7 @@ export const details = {
|
|
|
573
573
|
'Automatically creates a progress record, reports upload stages, verifies the Git commit on the server and waits for publishing. A stopped project server is turned on first.',
|
|
574
574
|
'Progress is based on milestones, not bytes or elapsed time. For users, relay percent with the forHuman field that guide in deepdynamic account get names. Use forAgent for decisions; never report a live site while deployed is false.',
|
|
575
575
|
'When publishing fails, forAgent.publishLog holds the end of the build output. Fix the project from it before deploying again.',
|
|
576
|
-
'Live progress is written to stderr (JSON lines by default,
|
|
576
|
+
'Live progress is written to stderr (JSON lines by default, human-readable text with --pretty). stdout contains one final result JSON by default.',
|
|
577
577
|
'If verification is unavailable after Git finishes, uploaded can be true while the command exits 1. Check deepdynamic deployments <id> before retrying the upload.',
|
|
578
578
|
PROGRESS_ADVANCE_NOTE
|
|
579
579
|
],
|
|
@@ -608,7 +608,7 @@ export const details = {
|
|
|
608
608
|
{ flag: '--dry-run', description: `Inspect files and ${MANIFEST_FILE} without uploading. Needs no --agent.` }
|
|
609
609
|
],
|
|
610
610
|
examples: ['deepdynamic projects deploy my-site ./my-site --agent CCD', 'deepdynamic projects deploy my-site ./my-site --agent CCD --timeout 90', 'deepdynamic projects deploy my-site ./dist --dry-run'],
|
|
611
|
-
prettyOptions: [['
|
|
611
|
+
prettyOptions: [['<name>', 'Your project created with deepdynamic projects create (required)'], ['<directory>', 'Folder to deploy (required)'], ['--agent', `Code of the deploying agent (${AGENTS.map(([code]) => code).join(', ')})`], PUBLISH_TIMEOUT_PRETTY, ['--dry-run', 'Check the files and deploy settings without uploading']]
|
|
612
612
|
},
|
|
613
613
|
'projects env push': {
|
|
614
614
|
options: [
|
|
@@ -645,7 +645,7 @@ export const details = {
|
|
|
645
645
|
...CONNECTION_ERRORS
|
|
646
646
|
},
|
|
647
647
|
examples: ['deepdynamic projects env push my-site', 'deepdynamic projects env push my-site ./.env.production', 'deepdynamic projects env push my-site --dry-run'],
|
|
648
|
-
prettyOptions: [['
|
|
648
|
+
prettyOptions: [['<name>', 'Your project name (required)'], ['<file>', 'Env file with KEY=value lines (default .env)'], ['--dry-run', 'Check the file and variable names without sealing or sending']]
|
|
649
649
|
},
|
|
650
650
|
'projects env list': {
|
|
651
651
|
options: [{ flag: '<name>', description: 'Name of one of your projects.', required: true }, READ_DRY_RUN],
|
|
@@ -664,7 +664,7 @@ export const details = {
|
|
|
664
664
|
...CONNECTION_ERRORS
|
|
665
665
|
},
|
|
666
666
|
examples: ['deepdynamic projects env list my-site'],
|
|
667
|
-
prettyOptions: [['
|
|
667
|
+
prettyOptions: [['<name>', 'Your project name (required)'], READ_DRY_RUN_PRETTY]
|
|
668
668
|
},
|
|
669
669
|
'projects env clear': {
|
|
670
670
|
options: [{ flag: '<name>', description: 'Name of one of your projects.', required: true }, YES, DNS_CHANGE_DRY_RUN],
|
|
@@ -687,7 +687,7 @@ export const details = {
|
|
|
687
687
|
...CONNECTION_ERRORS
|
|
688
688
|
},
|
|
689
689
|
examples: ['deepdynamic projects env clear my-site --dry-run', 'deepdynamic projects env clear my-site --yes'],
|
|
690
|
-
prettyOptions: [['
|
|
690
|
+
prettyOptions: [['<name>', 'Your project name (required)'], YES_PRETTY, DNS_CHANGE_DRY_RUN_PRETTY]
|
|
691
691
|
},
|
|
692
692
|
'deployments': {
|
|
693
693
|
options: [READ_DRY_RUN],
|
|
@@ -749,7 +749,7 @@ export const details = {
|
|
|
749
749
|
...CONNECTION_ERRORS
|
|
750
750
|
},
|
|
751
751
|
examples: ['deepdynamic projects metric my-site', 'deepdynamic projects metric my-site --period 30d', 'deepdynamic projects metric my-site --period 24h --dry-run'],
|
|
752
|
-
prettyOptions: [['--period', '
|
|
752
|
+
prettyOptions: [['--period', 'Period 24h, 7d or 30d (default 7d, Korea time)'], READ_DRY_RUN_PRETTY]
|
|
753
753
|
},
|
|
754
754
|
'projects photocard': {
|
|
755
755
|
options: [
|
|
@@ -777,7 +777,7 @@ export const details = {
|
|
|
777
777
|
...CONNECTION_ERRORS
|
|
778
778
|
},
|
|
779
779
|
examples: ['deepdynamic projects photocard my-site', 'deepdynamic projects photocard my-site --out ./cards', 'deepdynamic projects photocard my-site --dry-run'],
|
|
780
|
-
prettyOptions: [['--out', '
|
|
780
|
+
prettyOptions: [['--out', 'Folder to save the two PNG files in (default current folder)'], READ_DRY_RUN_PRETTY]
|
|
781
781
|
},
|
|
782
782
|
'projects history': {
|
|
783
783
|
options: [READ_DRY_RUN],
|
|
@@ -846,7 +846,7 @@ export const details = {
|
|
|
846
846
|
...CONNECTION_ERRORS
|
|
847
847
|
},
|
|
848
848
|
examples: ['deepdynamic projects rollback my-site --dry-run', 'deepdynamic projects rollback my-site --yes', 'deepdynamic projects rollback my-site --to 3f9c2a1b7d4e --yes', 'deepdynamic projects rollback my-site --timeout 90 --yes'],
|
|
849
|
-
prettyOptions: [['--to', '
|
|
849
|
+
prettyOptions: [['--to', 'Commit to restore from deepdynamic projects history, 7+ characters (default: the deployment before the current one)'], PUBLISH_TIMEOUT_PRETTY, YES_PRETTY, DNS_CHANGE_DRY_RUN_PRETTY]
|
|
850
850
|
},
|
|
851
851
|
'projects rename': {
|
|
852
852
|
options: [
|
|
@@ -877,7 +877,7 @@ export const details = {
|
|
|
877
877
|
...CONNECTION_ERRORS
|
|
878
878
|
},
|
|
879
879
|
examples: ['deepdynamic projects rename demo-site mokdong-noodle --dry-run', 'deepdynamic projects rename demo-site mokdong-noodle'],
|
|
880
|
-
prettyOptions: [['--dry-run', '
|
|
880
|
+
prettyOptions: [['--dry-run', 'Check the new name without renaming']]
|
|
881
881
|
},
|
|
882
882
|
'projects pwa': {
|
|
883
883
|
options: [
|
|
@@ -905,7 +905,7 @@ export const details = {
|
|
|
905
905
|
...CONNECTION_ERRORS
|
|
906
906
|
},
|
|
907
907
|
examples: ['deepdynamic projects pwa my-site', 'deepdynamic projects pwa my-site off', 'deepdynamic projects pwa my-site on --dry-run'],
|
|
908
|
-
prettyOptions: [['
|
|
908
|
+
prettyOptions: [['<name>', 'Your project name (required)'], ['[on|off]', 'Omit to show the current setting, on to turn it on, off to turn it off'], ['--dry-run', 'Show the request without changing anything']]
|
|
909
909
|
},
|
|
910
910
|
'projects stop': {
|
|
911
911
|
options: [YES, DNS_CHANGE_DRY_RUN],
|
|
@@ -1010,7 +1010,7 @@ export const details = {
|
|
|
1010
1010
|
...CONNECTION_ERRORS
|
|
1011
1011
|
},
|
|
1012
1012
|
examples: ['deepdynamic domains search my-brand', 'deepdynamic domains search my-brand.com', 'deepdynamic domains search my-brand --tlds site,online'],
|
|
1013
|
-
prettyOptions: [['
|
|
1013
|
+
prettyOptions: [['<name>', 'Name to search, a suffix such as .com is allowed (required)'], ['--tlds', 'TLDs to check instead of the recommended ones, up to 25 comma-separated, such as site,online'], READ_DRY_RUN_PRETTY]
|
|
1014
1014
|
},
|
|
1015
1015
|
'domains tlds': {
|
|
1016
1016
|
options: [{ flag: '--dry-run', description: 'Returns the GET request it would send without sending it.' }],
|
|
@@ -1083,13 +1083,13 @@ export const details = {
|
|
|
1083
1083
|
},
|
|
1084
1084
|
examples: ['deepdynamic domains buy my-brand.com --project mokdong-noodle', 'deepdynamic domains buy my-brand.com --project mokdong-noodle --yes --total 17900', 'deepdynamic domains buy my-brand.com'],
|
|
1085
1085
|
prettyOptions: [
|
|
1086
|
-
['
|
|
1087
|
-
['--project', '
|
|
1088
|
-
['--years', '
|
|
1089
|
-
['--no-auto-renew', '
|
|
1090
|
-
['--yes', '
|
|
1091
|
-
['--total', '
|
|
1092
|
-
['--dry-run', '
|
|
1086
|
+
['<domain>', 'Domain to buy, such as my-brand.com (required)'],
|
|
1087
|
+
['--project', 'Your project to connect (omit for DNS only, connect later with deepdynamic dns restore)'],
|
|
1088
|
+
['--years', 'Term of 1, 2 or 3 years (default 1, at least 2 for .ai)'],
|
|
1089
|
+
['--no-auto-renew', 'Turn off auto-renew before expiry (on by default)'],
|
|
1090
|
+
['--yes', 'Agree to the total and buy (with --total)'],
|
|
1091
|
+
['--total', 'Agreed total in KRW'],
|
|
1092
|
+
['--dry-run', 'Check the total without buying']
|
|
1093
1093
|
]
|
|
1094
1094
|
},
|
|
1095
1095
|
'domains register': {
|
|
@@ -1141,10 +1141,10 @@ export const details = {
|
|
|
1141
1141
|
'deepdynamic domains register example.com'
|
|
1142
1142
|
],
|
|
1143
1143
|
prettyOptions: [
|
|
1144
|
-
['
|
|
1145
|
-
['--project', '
|
|
1146
|
-
['--dns', 'ns
|
|
1147
|
-
['--site', '
|
|
1144
|
+
['<domain>', 'Domain bought elsewhere, such as example.com (required)'],
|
|
1145
|
+
['--project', 'Your project to connect (omit for DNS only with ns, connect later with deepdynamic dns restore)'],
|
|
1146
|
+
['--dns', 'ns to change the nameservers (default), cname to add two CNAMEs'],
|
|
1147
|
+
['--site', 'Host label that opens the site, such as www (@ allowed with cname)'],
|
|
1148
1148
|
DNS_CHANGE_DRY_RUN_PRETTY
|
|
1149
1149
|
]
|
|
1150
1150
|
},
|
|
@@ -1183,7 +1183,7 @@ export const details = {
|
|
|
1183
1183
|
...CONNECTION_ERRORS
|
|
1184
1184
|
},
|
|
1185
1185
|
examples: ['deepdynamic domains verify example.com', 'deepdynamic domains verify example.com --dry-run'],
|
|
1186
|
-
prettyOptions: [['
|
|
1186
|
+
prettyOptions: [['<domain>', 'Domain registered with deepdynamic domains register (required)'], DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1187
1187
|
},
|
|
1188
1188
|
'domains remove': {
|
|
1189
1189
|
options: [YES, DNS_CHANGE_DRY_RUN],
|
|
@@ -1209,7 +1209,7 @@ export const details = {
|
|
|
1209
1209
|
...CONNECTION_ERRORS
|
|
1210
1210
|
},
|
|
1211
1211
|
examples: ['deepdynamic domains remove example.com --dry-run', 'deepdynamic domains remove example.com --yes'],
|
|
1212
|
-
prettyOptions: [['
|
|
1212
|
+
prettyOptions: [['<domain>', 'Domain registered with deepdynamic domains register (required)'], YES_PRETTY, DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1213
1213
|
},
|
|
1214
1214
|
'domains auto-renew': {
|
|
1215
1215
|
options: [
|
|
@@ -1238,7 +1238,7 @@ export const details = {
|
|
|
1238
1238
|
...CONNECTION_ERRORS
|
|
1239
1239
|
},
|
|
1240
1240
|
examples: ['deepdynamic domains auto-renew my-brand.com on', 'deepdynamic domains auto-renew my-brand.com off --dry-run', 'deepdynamic domains auto-renew my-brand.com off --yes'],
|
|
1241
|
-
prettyOptions: [['
|
|
1241
|
+
prettyOptions: [['<domain>', 'Domain bought through DeepDynamic (required)'], ['<on|off>', 'on to turn auto-renew on, off to turn it off (required)'], ['--yes', 'Turn it off after the user confirms (required for off)'], ['--dry-run', 'Show the plan and request without changing anything']]
|
|
1242
1242
|
},
|
|
1243
1243
|
'dns': {
|
|
1244
1244
|
options: [PAGE, DNS_READ_DRY_RUN],
|
|
@@ -1265,7 +1265,7 @@ export const details = {
|
|
|
1265
1265
|
result: { zone: DNS_ZONE_RESULT, dryRun: DNS_READ_DRY_RUN_RESULT },
|
|
1266
1266
|
errors: { ...DNS_READ_ERRORS, domain_not_found: DNS_DOMAIN_NOT_FOUND },
|
|
1267
1267
|
examples: ['deepdynamic dns records example.com'],
|
|
1268
|
-
prettyOptions: [['
|
|
1268
|
+
prettyOptions: [['<domain>', 'Domain whose records to show (required)'], READ_DRY_RUN_PRETTY]
|
|
1269
1269
|
},
|
|
1270
1270
|
'dns add': {
|
|
1271
1271
|
options: DNS_RECORD_OPTIONS,
|
|
@@ -1290,7 +1290,7 @@ export const details = {
|
|
|
1290
1290
|
'deepdynamic dns add example.com --type A --name www --value 198.51.100.24',
|
|
1291
1291
|
'deepdynamic dns add example.com --type MX --name @ --value mx1.mail.example.com --priority 10 --ttl 3600 --dry-run'
|
|
1292
1292
|
],
|
|
1293
|
-
prettyOptions: [['
|
|
1293
|
+
prettyOptions: [['<domain>', 'Domain to add the record to (required)'], ...DNS_RECORD_PRETTY_OPTIONS]
|
|
1294
1294
|
},
|
|
1295
1295
|
'dns update': {
|
|
1296
1296
|
options: DNS_RECORD_OPTIONS,
|
|
@@ -1314,7 +1314,7 @@ export const details = {
|
|
|
1314
1314
|
},
|
|
1315
1315
|
errors: { ...DNS_CHANGE_ERRORS, domain_not_found: DNS_DOMAIN_NOT_FOUND, record_not_found: DNS_RECORD_NOT_FOUND },
|
|
1316
1316
|
examples: ['deepdynamic dns update example.com 3f2c9a1e-0b7d-4c55-9a51-2b6e8f0c1d2a --type TXT --name @ --value "v=spf1 include:mail.example.com ~all"'],
|
|
1317
|
-
prettyOptions: [['
|
|
1317
|
+
prettyOptions: [['<record-id>', 'Record ID from deepdynamic dns records (required)'], ...DNS_RECORD_PRETTY_OPTIONS]
|
|
1318
1318
|
},
|
|
1319
1319
|
'dns delete': {
|
|
1320
1320
|
options: [YES, DNS_CHANGE_DRY_RUN],
|
|
@@ -1334,7 +1334,7 @@ export const details = {
|
|
|
1334
1334
|
},
|
|
1335
1335
|
errors: { ...DNS_CHANGE_ERRORS, confirmation_required: CONFIRMATION_REQUIRED, domain_not_found: DNS_DOMAIN_NOT_FOUND, record_not_found: DNS_RECORD_NOT_FOUND },
|
|
1336
1336
|
examples: ['deepdynamic dns delete example.com 3f2c9a1e-0b7d-4c55-9a51-2b6e8f0c1d2a --dry-run', 'deepdynamic dns delete example.com 3f2c9a1e-0b7d-4c55-9a51-2b6e8f0c1d2a --yes'],
|
|
1337
|
-
prettyOptions: [['
|
|
1337
|
+
prettyOptions: [['<record-id>', 'Record ID from deepdynamic dns records (required)'], YES_PRETTY, DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1338
1338
|
},
|
|
1339
1339
|
'dns restore': {
|
|
1340
1340
|
options: [
|
|
@@ -1368,7 +1368,7 @@ export const details = {
|
|
|
1368
1368
|
site_unavailable: 'The project name cannot be used as a site address. Rename the project with deepdynamic projects rename.'
|
|
1369
1369
|
},
|
|
1370
1370
|
examples: ['deepdynamic dns restore example.com --project my-site --dry-run', 'deepdynamic dns restore example.com --project my-site --yes', 'deepdynamic dns restore example.com --project my-site --name docs --yes'],
|
|
1371
|
-
prettyOptions: [['--project', '
|
|
1371
|
+
prettyOptions: [['--project', 'Project to connect (required)'], ['--name', 'Host part to connect (default www)'], YES_PRETTY, DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1372
1372
|
},
|
|
1373
1373
|
'dns sync': {
|
|
1374
1374
|
options: [YES, DNS_CHANGE_DRY_RUN],
|
|
@@ -1425,7 +1425,7 @@ export const details = {
|
|
|
1425
1425
|
http_error: `Check zone.dnssec with deepdynamic dns records <domain>. ${SUPPORT_HELP}`
|
|
1426
1426
|
},
|
|
1427
1427
|
examples: ['deepdynamic dns dnssec example.com on --dry-run', 'deepdynamic dns dnssec example.com on --yes', 'deepdynamic dns dnssec example.com off --yes'],
|
|
1428
|
-
prettyOptions: [['<on|off>', 'on
|
|
1428
|
+
prettyOptions: [['<on|off>', 'on to turn DNSSEC on, off to turn it off (required)'], YES_PRETTY, DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1429
1429
|
},
|
|
1430
1430
|
'dns google': {
|
|
1431
1431
|
options: [DNS_CHANGE_DRY_RUN],
|
|
@@ -1496,7 +1496,7 @@ export const details = {
|
|
|
1496
1496
|
...CONNECTION_ERRORS
|
|
1497
1497
|
},
|
|
1498
1498
|
examples: ['deepdynamic dns analytics example.com --dry-run', 'deepdynamic dns analytics example.com', 'deepdynamic dns analytics example.com off --dry-run', 'deepdynamic dns analytics example.com off --yes'],
|
|
1499
|
-
prettyOptions: [['off', '
|
|
1499
|
+
prettyOptions: [['off', 'Remove the Google tag from the site instead of registering (optional)'], ['--yes', 'Remove it after the user confirms (required for off)'], DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1500
1500
|
},
|
|
1501
1501
|
'server': {
|
|
1502
1502
|
options: [DNS_READ_DRY_RUN],
|
|
@@ -1536,10 +1536,10 @@ export const details = {
|
|
|
1536
1536
|
notes: [
|
|
1537
1537
|
SIGN_IN_NOTE,
|
|
1538
1538
|
'Give --cores, --memory or both, each once. A part that is left out is not sent and stays as it is.',
|
|
1539
|
-
'Pricing: 1 core and 1 GB are included. Each extra core costs 5,000 KRW and each extra GB 3,000 KRW a month, so the monthly extra charge is (cores - 1) x 5,000 + (GB - 1) x 3,000 KRW.
|
|
1539
|
+
'Pricing: 1 core and 1 GB are included. Each extra core costs 5,000 KRW and each extra GB 3,000 KRW a month, so the monthly extra charge is (cores - 1) x 5,000 + (GB - 1) x 3,000 KRW. When a change raises the monthly extra charge of the account, the difference from what the account already paid for server options this month is charged to the card right away (charged in the result), and the new spec is billed every month after that. Lowering never refunds.',
|
|
1540
1540
|
'Applying restarts a running server, so the site is unreachable for about a minute. A stopped server keeps the new spec and uses it from its next start. Tell the user about the restart before applying.',
|
|
1541
1541
|
'The server compares the change with the current spec. When it raises the monthly extra charge and --yes is missing, nothing is changed and the command exits 3 with confirmation_required; monthlyExtra and previousMonthlyExtra hold the amounts. Show the user the amounts in KRW and run error.next only after they agree. Never add --yes on your own.',
|
|
1542
|
-
'The server refuses a smaller option than the server uses (cpu_too_small, memory_too_small) and any change while autopilot is on (autopilot_on), while the server is being created (server_not_ready), or while it restarts, updates or deploys or cannot take more CPU or RAM right now (server_busy). error.code tells which.',
|
|
1542
|
+
'The server refuses a smaller option than the server uses (cpu_too_small, memory_too_small) and any change while autopilot is on (autopilot_on), while the server is being created (server_not_ready), or while it restarts, updates or deploys or cannot take more CPU or RAM right now (server_busy). A raise is also refused while the account has unpaid charges (unpaid_charges) or while another server options payment or spec change is in progress (charge_pending), and fails when the card company declines the difference (payment_declined). error.code tells which.',
|
|
1543
1543
|
'While autopilot is on, the spec cannot be changed by hand. If the user wants to set it, turn autopilot off first with deepdynamic server autopilot off.',
|
|
1544
1544
|
'On the web the CPU is called the engine (엔진) and the RAM the navigation system (항법장치); use those words only for users who speak in them.',
|
|
1545
1545
|
'With --dry-run nothing is sent. The current spec is not known then, so plan.monthlyExtra is the whole monthly extra charge after the change, not the difference, and is null when one part is left out. plan.consentRequired is true whenever a part being set costs extra.'
|
|
@@ -1551,6 +1551,7 @@ export const details = {
|
|
|
1551
1551
|
memory: 'RAM in GB after the request.',
|
|
1552
1552
|
monthlyExtra: 'The monthly extra charge of this server after the request, in KRW.',
|
|
1553
1553
|
previousMonthlyExtra: 'The monthly extra charge before the request, in KRW.',
|
|
1554
|
+
charged: 'The difference charged to the card right now for this change, in KRW. 0 when nothing was charged.',
|
|
1554
1555
|
currency: 'Always KRW.',
|
|
1555
1556
|
restarting: 'true when the running server is restarting to apply the change. false when it was stopped or nothing changed.',
|
|
1556
1557
|
dryRun: 'true with --dry-run; nothing was changed or billed.',
|
|
@@ -1567,6 +1568,10 @@ export const details = {
|
|
|
1567
1568
|
server_busy: 'The server is restarting, updating or deploying, or cannot take more CPU or RAM right now. Retry later.',
|
|
1568
1569
|
cpu_too_small: 'With that few cores the current CPU use would go over 100%. Keep more cores.',
|
|
1569
1570
|
memory_too_small: 'The server uses more RAM than the requested size. Keep more RAM.',
|
|
1571
|
+
unpaid_charges: 'The account has unpaid charges, so the spec was not raised and nothing was charged. Pay them with deepdynamic plan pay, then retry.',
|
|
1572
|
+
charge_pending: 'A server options payment or another spec change is still in progress, so nothing was charged or changed. Retry a little later.',
|
|
1573
|
+
payment_declined: 'The card company declined the payment for the difference, so nothing was charged or changed. Ask the user to check the card or register another one, then retry.',
|
|
1574
|
+
payment_unavailable: `Nothing was charged or changed. ${SUPPORT_HELP}`,
|
|
1570
1575
|
server_unreachable: `Nothing was changed. ${SUPPORT_HELP}`,
|
|
1571
1576
|
server_unavailable: `Nothing was changed. ${SUPPORT_HELP}`,
|
|
1572
1577
|
login_required: LOGIN_REQUIRED,
|
|
@@ -1575,10 +1580,10 @@ export const details = {
|
|
|
1575
1580
|
},
|
|
1576
1581
|
examples: ['deepdynamic server set my-site --cores 2 --memory 4 --dry-run', 'deepdynamic server set my-site --memory 8 --yes', 'deepdynamic server set my-site --cores 1'],
|
|
1577
1582
|
prettyOptions: [
|
|
1578
|
-
['
|
|
1579
|
-
['--cores', 'CPU
|
|
1580
|
-
['--memory', 'RAM GB 1
|
|
1581
|
-
['--yes', '
|
|
1583
|
+
['<project>', 'Your project whose server spec to change (required)'],
|
|
1584
|
+
['--cores', 'CPU cores 1, 2, 4 or 8, omit to keep'],
|
|
1585
|
+
['--memory', 'RAM in GB 1, 2, 4 or 8, omit to keep'],
|
|
1586
|
+
['--yes', 'Consent to the extra charge after the user confirms it (required when it rises)'],
|
|
1582
1587
|
DNS_CHANGE_DRY_RUN_PRETTY
|
|
1583
1588
|
]
|
|
1584
1589
|
},
|
|
@@ -1609,13 +1614,14 @@ export const details = {
|
|
|
1609
1614
|
errors: {
|
|
1610
1615
|
invalid_arguments: 'Exit code 2. Give on or off first. --limit is only for on and must be given once as 50000, 100000, 200000 or 300000.',
|
|
1611
1616
|
card_required: CARD_REQUIRED,
|
|
1617
|
+
unpaid_charges: 'The account has unpaid charges, so autopilot was not turned on. Pay them with deepdynamic plan pay, then retry.',
|
|
1612
1618
|
login_required: LOGIN_REQUIRED,
|
|
1613
1619
|
server_unreachable: `Nothing was saved. ${SUPPORT_HELP}`,
|
|
1614
1620
|
http_error: `The setting was not saved. ${SUPPORT_HELP}`,
|
|
1615
1621
|
...CONNECTION_ERRORS
|
|
1616
1622
|
},
|
|
1617
1623
|
examples: ['deepdynamic server autopilot on --limit 200000', 'deepdynamic server autopilot off', 'deepdynamic server autopilot on --dry-run'],
|
|
1618
|
-
prettyOptions: [['<on|off>', 'on
|
|
1624
|
+
prettyOptions: [['<on|off>', 'on to turn it on, off to turn it off (required)'], ['--limit', 'Monthly limit of 50,000, 100,000, 200,000 or 300,000 KRW (on only, default 100,000 KRW)'], DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1619
1625
|
},
|
|
1620
1626
|
'plan': {
|
|
1621
1627
|
options: [DNS_READ_DRY_RUN],
|
|
@@ -1679,6 +1685,7 @@ export const details = {
|
|
|
1679
1685
|
payment_unavailable: `Nothing was charged or changed. ${SUPPORT_HELP}`,
|
|
1680
1686
|
charge_pending: PLAN_CHARGE_PENDING,
|
|
1681
1687
|
invalid_plan: 'The server accepts only pro or team as the plan. Nothing was changed.',
|
|
1688
|
+
unpaid_charges: 'The account has unpaid charges, so the plan was not raised and nothing was charged. Pay them with deepdynamic plan pay, then retry.',
|
|
1682
1689
|
unavailable: PLAN_UNAVAILABLE,
|
|
1683
1690
|
login_required: LOGIN_REQUIRED,
|
|
1684
1691
|
http_error: `The plan was not changed. ${SUPPORT_HELP}`,
|
|
@@ -1686,8 +1693,8 @@ export const details = {
|
|
|
1686
1693
|
},
|
|
1687
1694
|
examples: ['deepdynamic plan subscribe pro --dry-run', 'deepdynamic plan subscribe pro', 'deepdynamic plan subscribe team --yes'],
|
|
1688
1695
|
prettyOptions: [
|
|
1689
|
-
['<pro|team>', '
|
|
1690
|
-
['--yes', '
|
|
1696
|
+
['<pro|team>', 'Plan to switch to, pro 9,900 KRW or team 29,000 KRW a month (required)'],
|
|
1697
|
+
['--yes', 'Consent to the payment after the user confirms the amount (required to subscribe or upgrade)'],
|
|
1691
1698
|
DNS_CHANGE_DRY_RUN_PRETTY
|
|
1692
1699
|
]
|
|
1693
1700
|
},
|
|
@@ -1859,7 +1866,7 @@ export const details = {
|
|
|
1859
1866
|
login_required: 'The login is missing or expired, or the token cannot issue that key (a pay key needs the web). Run deepdynamic login again or use the web.'
|
|
1860
1867
|
},
|
|
1861
1868
|
examples: ['deepdynamic keys issue dns', 'deepdynamic keys issue s3 --dry-run', 'deepdynamic keys issue pay --expires 1h --yes'],
|
|
1862
|
-
prettyOptions: [['<dns|s3|pay>', '
|
|
1869
|
+
prettyOptions: [['<dns|s3|pay>', 'Kind of key to issue (required)'], ['--expires', 'Pay key expiry: 10m, 1h, 6h or 1d (default 10m)'], ['--yes', 'Consent to paid services and consolidated billing for a pay key'], DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1863
1870
|
},
|
|
1864
1871
|
'keys create': {
|
|
1865
1872
|
options: [
|
|
@@ -1883,8 +1890,8 @@ export const details = {
|
|
|
1883
1890
|
request: 'With --dry-run only: the POST request it would send, { method, url, body: { kind: "custom", name, scopes } }.'
|
|
1884
1891
|
},
|
|
1885
1892
|
errors: { ...DNS_CHANGE_ERRORS, key_exists: 'Keys and access tokens are limited to 10 per account. Revoke one first.' },
|
|
1886
|
-
examples: ['deepdynamic keys create --label "
|
|
1887
|
-
prettyOptions: [['--label', '
|
|
1893
|
+
examples: ['deepdynamic keys create --label "Deploy automation" --scope dns:read --scope dns:write', 'deepdynamic keys create --label uploads --scope s3:write --dry-run'],
|
|
1894
|
+
prettyOptions: [['--label', 'Key name, 1-60 characters (required)'], ['--scope', 'Scope dns:read, dns:write, s3:read or s3:write, repeatable (required)'], DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1888
1895
|
},
|
|
1889
1896
|
'keys revoke': {
|
|
1890
1897
|
options: [
|
|
@@ -1908,7 +1915,7 @@ export const details = {
|
|
|
1908
1915
|
},
|
|
1909
1916
|
errors: { ...DNS_CHANGE_ERRORS, confirmation_required: CONFIRMATION_REQUIRED, key_not_found: 'No key with that ID is among your keys. Check them with deepdynamic keys.' },
|
|
1910
1917
|
examples: ['deepdynamic keys revoke 0f8fad5b-d9cb-469f-a165-70867728950e --dry-run', 'deepdynamic keys revoke 0f8fad5b-d9cb-469f-a165-70867728950e --yes'],
|
|
1911
|
-
prettyOptions: [['
|
|
1918
|
+
prettyOptions: [['<key-id>', 'Key ID from deepdynamic keys (required)'], YES_PRETTY, DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1912
1919
|
},
|
|
1913
1920
|
'sessions': {
|
|
1914
1921
|
options: [DNS_READ_DRY_RUN],
|
|
@@ -1952,7 +1959,7 @@ export const details = {
|
|
|
1952
1959
|
current_session: 'That is the session this CLI is using, so nothing was changed. Run deepdynamic logout to end it.'
|
|
1953
1960
|
},
|
|
1954
1961
|
examples: ['deepdynamic sessions revoke 0f8fad5b-d9cb-469f-a165-70867728950e --dry-run', 'deepdynamic sessions revoke 0f8fad5b-d9cb-469f-a165-70867728950e --yes'],
|
|
1955
|
-
prettyOptions: [['
|
|
1962
|
+
prettyOptions: [['<session-id>', 'Session ID from deepdynamic sessions (required)'], YES_PRETTY, DNS_CHANGE_DRY_RUN_PRETTY]
|
|
1956
1963
|
},
|
|
1957
1964
|
'account activity': {
|
|
1958
1965
|
options: [
|
|
@@ -1984,10 +1991,10 @@ export const details = {
|
|
|
1984
1991
|
errors: { ...DNS_READ_ERRORS, invalid_arguments: 'Exit code 2. --page must be a positive integer, --kind login or change, --date a real date as YYYY-MM-DD and --source web or cli, each given once.', http_error: SUPPORT_HELP },
|
|
1985
1992
|
examples: ['deepdynamic account activity', 'deepdynamic account activity --date 2026-10-01 --kind change', 'deepdynamic account activity --source cli', 'deepdynamic account activity --page 2 --dry-run'],
|
|
1986
1993
|
prettyOptions: [
|
|
1987
|
-
['--page', '
|
|
1988
|
-
['--kind', 'login(
|
|
1989
|
-
['--date', '
|
|
1990
|
-
['--source', 'web(
|
|
1994
|
+
['--page', 'Page number, 10 per page (default 1)'],
|
|
1995
|
+
['--kind', 'Only login (sign-ins) or change (settings changes)'],
|
|
1996
|
+
['--date', 'Day as YYYY-MM-DD in Korea time (default all days)'],
|
|
1997
|
+
['--source', 'Only web (browser) or cli (deepdynamic, agents, API keys and others)'],
|
|
1991
1998
|
READ_DRY_RUN_PRETTY
|
|
1992
1999
|
]
|
|
1993
2000
|
},
|
|
@@ -2015,8 +2022,8 @@ export const details = {
|
|
|
2015
2022
|
errors: { ...DNS_READ_ERRORS, invalid_arguments: 'Exit code 2. --limit must be an integer from 1 to 100, and --unread and --limit are each given once.', http_error: SUPPORT_HELP },
|
|
2016
2023
|
examples: ['deepdynamic account notifications', 'deepdynamic account notifications --unread', 'deepdynamic account notifications --limit 50', 'deepdynamic account notifications --unread --dry-run'],
|
|
2017
2024
|
prettyOptions: [
|
|
2018
|
-
['--unread', '
|
|
2019
|
-
['--limit', '
|
|
2025
|
+
['--unread', 'Only unread notifications'],
|
|
2026
|
+
['--limit', 'Most notifications to load, 1-100 (default 20)'],
|
|
2020
2027
|
READ_DRY_RUN_PRETTY
|
|
2021
2028
|
]
|
|
2022
2029
|
},
|
|
@@ -2052,7 +2059,7 @@ export const details = {
|
|
|
2052
2059
|
'deepdynamic account notifications read 0f8fad5b-d9cb-469f-a165-70867728950e 7c9e6679-7425-40de-944b-e07fc1f90ae7 --dry-run',
|
|
2053
2060
|
'deepdynamic account notifications read --all'
|
|
2054
2061
|
],
|
|
2055
|
-
prettyOptions: [['
|
|
2062
|
+
prettyOptions: [['<notification-id>', 'Notification IDs from deepdynamic account notifications, up to 100'], ['--all', 'Mark every notification as read'], DNS_CHANGE_DRY_RUN_PRETTY]
|
|
2056
2063
|
},
|
|
2057
2064
|
'account delete': {
|
|
2058
2065
|
options: [DNS_READ_DRY_RUN],
|
|
@@ -2108,7 +2115,7 @@ export const details = {
|
|
|
2108
2115
|
result: { mail: MAIL_ZONE_RESULT, dryRun: DNS_READ_DRY_RUN_RESULT },
|
|
2109
2116
|
errors: { ...DNS_READ_ERRORS, domain_not_found: DNS_DOMAIN_NOT_FOUND },
|
|
2110
2117
|
examples: ['deepdynamic mail show example.com', 'deepdynamic mail show example.com --dry-run'],
|
|
2111
|
-
prettyOptions: [['
|
|
2118
|
+
prettyOptions: [['<domain>', 'Domain whose mail settings to show, such as example.com (required)'], READ_DRY_RUN_PRETTY]
|
|
2112
2119
|
},
|
|
2113
2120
|
'mail set': {
|
|
2114
2121
|
options: [
|
|
@@ -2143,12 +2150,12 @@ export const details = {
|
|
|
2143
2150
|
errors: { ...DNS_CHANGE_ERRORS, confirmation_required: CONFIRMATION_REQUIRED, domain_not_found: DNS_DOMAIN_NOT_FOUND },
|
|
2144
2151
|
examples: ['deepdynamic mail set example.com --policy reject --yes', 'deepdynamic mail set example.com --rua dmarc@example.com --spf-include _spf.example.net --dry-run'],
|
|
2145
2152
|
prettyOptions: [
|
|
2146
|
-
['
|
|
2147
|
-
['--policy', 'DMARC
|
|
2148
|
-
['--rua', '
|
|
2149
|
-
['--spf-include', '
|
|
2150
|
-
['--selector', '
|
|
2151
|
-
['--public-key', '
|
|
2153
|
+
['<domain>', 'Domain whose mail settings to change (required)'],
|
|
2154
|
+
['--policy', 'DMARC policy: none (monitor), quarantine (send to spam) or reject (refuse)'],
|
|
2155
|
+
['--rua', 'Address that receives the DMARC reports'],
|
|
2156
|
+
['--spf-include', 'SPF host of the mail service, such as _spf.example.com'],
|
|
2157
|
+
['--selector', 'Selector of your own DKIM key (with --public-key)'],
|
|
2158
|
+
['--public-key', 'Your own DKIM public key in base64, 64+ characters (with --selector)'],
|
|
2152
2159
|
YES_PRETTY,
|
|
2153
2160
|
DNS_CHANGE_DRY_RUN_PRETTY
|
|
2154
2161
|
]
|
|
@@ -2175,6 +2182,6 @@ export const details = {
|
|
|
2175
2182
|
},
|
|
2176
2183
|
errors: { ...DNS_CHANGE_ERRORS, confirmation_required: CONFIRMATION_REQUIRED, domain_not_found: DNS_DOMAIN_NOT_FOUND },
|
|
2177
2184
|
examples: ['deepdynamic mail reset example.com --dry-run', 'deepdynamic mail reset example.com --yes'],
|
|
2178
|
-
prettyOptions: [['
|
|
2185
|
+
prettyOptions: [['<domain>', 'Domain to return to the automatic setup (required)'], YES_PRETTY, DNS_CHANGE_DRY_RUN_PRETTY]
|
|
2179
2186
|
}
|
|
2180
2187
|
};
|