@gunshi/resources 0.37.2 → 1.0.0-beta.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/lib/index.d.ts +14 -0
- package/lib/index.js +14 -0
- package/locales/en-US.json +7 -0
- package/locales/ja-JP.json +7 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -24,7 +24,14 @@ declare const _default: {
|
|
|
24
24
|
"err:arg:invalid-choice": string;
|
|
25
25
|
"err:arg:custom-parse": string;
|
|
26
26
|
"err:arg:unknown-option": string;
|
|
27
|
+
"err:arg:unexpected-value": string;
|
|
28
|
+
"err:arg:missing-value": string;
|
|
29
|
+
"err:arg:conflict": string;
|
|
30
|
+
"err:arg:invalid-default": string;
|
|
27
31
|
"err:cmd:not-found": string;
|
|
32
|
+
"err:cmd:ambiguous": string;
|
|
33
|
+
"err:cmd:inconsistent-options": string;
|
|
34
|
+
"err:cmd:lazy-schema-mismatch": string;
|
|
28
35
|
"err:suggestion:did-you-mean": string;
|
|
29
36
|
};
|
|
30
37
|
'ja-JP': {
|
|
@@ -47,7 +54,14 @@ declare const _default: {
|
|
|
47
54
|
"err:arg:invalid-choice": string;
|
|
48
55
|
"err:arg:custom-parse": string;
|
|
49
56
|
"err:arg:unknown-option": string;
|
|
57
|
+
"err:arg:unexpected-value": string;
|
|
58
|
+
"err:arg:missing-value": string;
|
|
59
|
+
"err:arg:conflict": string;
|
|
60
|
+
"err:arg:invalid-default": string;
|
|
50
61
|
"err:cmd:not-found": string;
|
|
62
|
+
"err:cmd:ambiguous": string;
|
|
63
|
+
"err:cmd:inconsistent-options": string;
|
|
64
|
+
"err:cmd:lazy-schema-mismatch": string;
|
|
51
65
|
"err:suggestion:did-you-mean": string;
|
|
52
66
|
};
|
|
53
67
|
};
|
package/lib/index.js
CHANGED
|
@@ -25,7 +25,14 @@ var src_default = {
|
|
|
25
25
|
"err:arg:invalid-choice": "Invalid value for {$displayName}: expected one of {$choices}",
|
|
26
26
|
"err:arg:custom-parse": "Invalid value for {$displayName}: {$reason}",
|
|
27
27
|
"err:arg:unknown-option": "Unknown option: {$rawName}",
|
|
28
|
+
"err:arg:unexpected-value": "Optional argument {$displayName} does not take a value",
|
|
29
|
+
"err:arg:missing-value": "Optional argument {$displayName} requires a value",
|
|
30
|
+
"err:arg:conflict": "{$displayName} conflicts with {$conflictDisplayName}",
|
|
31
|
+
"err:arg:invalid-default": "Invalid default for {$displayName}: {$actual} is not one of {$choices}",
|
|
28
32
|
"err:cmd:not-found": "Command not found: {$commandName}",
|
|
33
|
+
"err:cmd:ambiguous": "The command is ambiguous. Move options after the command name: {$candidatePaths}",
|
|
34
|
+
"err:cmd:inconsistent-options": "The options do not identify a consistent command. Move options after the command name.",
|
|
35
|
+
"err:cmd:lazy-schema-mismatch": "The lazy command definition does not match its loaded options. Declare leading options in the lazy definition or move options after the command name: {$commandPath}",
|
|
29
36
|
"err:suggestion:did-you-mean": "Did you mean {$name}?"
|
|
30
37
|
},
|
|
31
38
|
"ja-JP": {
|
|
@@ -48,7 +55,14 @@ var src_default = {
|
|
|
48
55
|
"err:arg:invalid-choice": "{$displayName} の値が不正です。指定可能な値: {$choices}",
|
|
49
56
|
"err:arg:custom-parse": "{$displayName} の値が不正です: {$reason}",
|
|
50
57
|
"err:arg:unknown-option": "未定義のオプションです: {$rawName}",
|
|
58
|
+
"err:arg:unexpected-value": "オプション {$displayName} は値を取りません",
|
|
59
|
+
"err:arg:missing-value": "オプション {$displayName} には値が必要です",
|
|
60
|
+
"err:arg:conflict": "{$displayName} と {$conflictDisplayName} は同時に指定できません",
|
|
61
|
+
"err:arg:invalid-default": "{$displayName} の既定値 {$actual} は {$choices} のいずれでもありません",
|
|
51
62
|
"err:cmd:not-found": "コマンドが見つかりません: {$commandName}",
|
|
63
|
+
"err:cmd:ambiguous": "コマンドを一意に解決できません。オプションをコマンド名の後ろに移してください: {$candidatePaths}",
|
|
64
|
+
"err:cmd:inconsistent-options": "オプションからコマンドを一意に解決できません。オプションをコマンド名の後ろに移してください。",
|
|
65
|
+
"err:cmd:lazy-schema-mismatch": "lazy コマンドの定義とロード後のオプションが一致しません。前置きするオプションを lazy の定義に記載するか、コマンド名の後ろに移してください: {$commandPath}",
|
|
52
66
|
"err:suggestion:did-you-mean": "{$name} の指定ミスではありませんか?"
|
|
53
67
|
}
|
|
54
68
|
};
|
package/locales/en-US.json
CHANGED
|
@@ -18,6 +18,13 @@
|
|
|
18
18
|
"err:arg:invalid-choice": "Invalid value for {$displayName}: expected one of {$choices}",
|
|
19
19
|
"err:arg:custom-parse": "Invalid value for {$displayName}: {$reason}",
|
|
20
20
|
"err:arg:unknown-option": "Unknown option: {$rawName}",
|
|
21
|
+
"err:arg:unexpected-value": "Optional argument {$displayName} does not take a value",
|
|
22
|
+
"err:arg:missing-value": "Optional argument {$displayName} requires a value",
|
|
23
|
+
"err:arg:conflict": "{$displayName} conflicts with {$conflictDisplayName}",
|
|
24
|
+
"err:arg:invalid-default": "Invalid default for {$displayName}: {$actual} is not one of {$choices}",
|
|
21
25
|
"err:cmd:not-found": "Command not found: {$commandName}",
|
|
26
|
+
"err:cmd:ambiguous": "The command is ambiguous. Move options after the command name: {$candidatePaths}",
|
|
27
|
+
"err:cmd:inconsistent-options": "The options do not identify a consistent command. Move options after the command name.",
|
|
28
|
+
"err:cmd:lazy-schema-mismatch": "The lazy command definition does not match its loaded options. Declare leading options in the lazy definition or move options after the command name: {$commandPath}",
|
|
22
29
|
"err:suggestion:did-you-mean": "Did you mean {$name}?"
|
|
23
30
|
}
|
package/locales/ja-JP.json
CHANGED
|
@@ -18,6 +18,13 @@
|
|
|
18
18
|
"err:arg:invalid-choice": "{$displayName} の値が不正です。指定可能な値: {$choices}",
|
|
19
19
|
"err:arg:custom-parse": "{$displayName} の値が不正です: {$reason}",
|
|
20
20
|
"err:arg:unknown-option": "未定義のオプションです: {$rawName}",
|
|
21
|
+
"err:arg:unexpected-value": "オプション {$displayName} は値を取りません",
|
|
22
|
+
"err:arg:missing-value": "オプション {$displayName} には値が必要です",
|
|
23
|
+
"err:arg:conflict": "{$displayName} と {$conflictDisplayName} は同時に指定できません",
|
|
24
|
+
"err:arg:invalid-default": "{$displayName} の既定値 {$actual} は {$choices} のいずれでもありません",
|
|
21
25
|
"err:cmd:not-found": "コマンドが見つかりません: {$commandName}",
|
|
26
|
+
"err:cmd:ambiguous": "コマンドを一意に解決できません。オプションをコマンド名の後ろに移してください: {$candidatePaths}",
|
|
27
|
+
"err:cmd:inconsistent-options": "オプションからコマンドを一意に解決できません。オプションをコマンド名の後ろに移してください。",
|
|
28
|
+
"err:cmd:lazy-schema-mismatch": "lazy コマンドの定義とロード後のオプションが一致しません。前置きするオプションを lazy の定義に記載するか、コマンド名の後ろに移してください: {$commandPath}",
|
|
22
29
|
"err:suggestion:did-you-mean": "{$name} の指定ミスではありませんか?"
|
|
23
30
|
}
|