gunshi 0.10.3 → 0.10.4
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/context.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ArgOptions, ArgValues } from 'args-tokens';
|
|
2
|
-
import { C as Command, a as CommandOptions, b as CommandContext } from './types.d-
|
|
2
|
+
import { C as Command, a as CommandOptions, b as CommandContext } from './types.d-Cs9oV60-.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Parameters of {@link createCommandContext}
|
package/lib/generator.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ArgOptions } from 'args-tokens';
|
|
2
|
-
import { C as Command, c as CommandRunner, a as CommandOptions } from './types.d-
|
|
2
|
+
import { C as Command, c as CommandRunner, a as CommandOptions } from './types.d-Cs9oV60-.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Generate the command usage
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ArgOptions } from 'args-tokens';
|
|
2
2
|
export { ArgOptionSchema, ArgOptions, ArgValues } from 'args-tokens';
|
|
3
|
-
import { C as Command, c as CommandRunner, a as CommandOptions, T as TranslationAdapter, d as TranslationAdapterFactoryOptions } from './types.d-
|
|
4
|
-
export { g as CommandBuiltinKeys, e as CommandBuiltinOptionsKeys, f as CommandBuiltinResourceKeys, b as CommandContext, h as CommandEnvironment, i as CommandResource, j as CommandResourceFetcher, l as Commandable, G as GenerateNamespacedKey, L as LazyCommand, k as TranslationAdapterFactory } from './types.d-
|
|
3
|
+
import { C as Command, c as CommandRunner, a as CommandOptions, T as TranslationAdapter, d as TranslationAdapterFactoryOptions } from './types.d-Cs9oV60-.js';
|
|
4
|
+
export { g as CommandBuiltinKeys, e as CommandBuiltinOptionsKeys, f as CommandBuiltinResourceKeys, b as CommandContext, h as CommandEnvironment, i as CommandResource, j as CommandResourceFetcher, l as Commandable, G as GenerateNamespacedKey, L as LazyCommand, k as TranslationAdapterFactory } from './types.d-Cs9oV60-.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Run the command
|
package/lib/renderer/index.d.ts
CHANGED
|
@@ -23,15 +23,15 @@ declare const COMMON_OPTIONS: CommonOptionType;
|
|
|
23
23
|
declare const COMMAND_OPTIONS_DEFAULT: CommandOptions<ArgOptions>;
|
|
24
24
|
declare const COMMAND_BUILTIN_RESOURCE_KEYS: readonly ["USAGE", "COMMAND", "SUBCOMMAND", "COMMANDS", "OPTIONS", "EXAMPLES", "FORMORE"];
|
|
25
25
|
|
|
26
|
-
declare const
|
|
27
|
-
declare const
|
|
28
|
-
declare const
|
|
29
|
-
declare const
|
|
30
|
-
declare const
|
|
31
|
-
declare const
|
|
32
|
-
declare const
|
|
33
|
-
declare namespace
|
|
34
|
-
export {
|
|
26
|
+
declare const __constants_ts_BUILT_IN_KEY_SEPARATOR: typeof BUILT_IN_KEY_SEPARATOR;
|
|
27
|
+
declare const __constants_ts_BUILT_IN_PREFIX: typeof BUILT_IN_PREFIX;
|
|
28
|
+
declare const __constants_ts_COMMAND_BUILTIN_RESOURCE_KEYS: typeof COMMAND_BUILTIN_RESOURCE_KEYS;
|
|
29
|
+
declare const __constants_ts_COMMAND_OPTIONS_DEFAULT: typeof COMMAND_OPTIONS_DEFAULT;
|
|
30
|
+
declare const __constants_ts_COMMON_OPTIONS: typeof COMMON_OPTIONS;
|
|
31
|
+
declare const __constants_ts_DEFAULT_LOCALE: typeof DEFAULT_LOCALE;
|
|
32
|
+
declare const __constants_ts_NOOP: typeof NOOP;
|
|
33
|
+
declare namespace __constants_ts {
|
|
34
|
+
export { __constants_ts_BUILT_IN_KEY_SEPARATOR as BUILT_IN_KEY_SEPARATOR, __constants_ts_BUILT_IN_PREFIX as BUILT_IN_PREFIX, __constants_ts_COMMAND_BUILTIN_RESOURCE_KEYS as COMMAND_BUILTIN_RESOURCE_KEYS, __constants_ts_COMMAND_OPTIONS_DEFAULT as COMMAND_OPTIONS_DEFAULT, __constants_ts_COMMON_OPTIONS as COMMON_OPTIONS, __constants_ts_DEFAULT_LOCALE as DEFAULT_LOCALE, __constants_ts_NOOP as NOOP };
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -46,12 +46,12 @@ type GenerateNamespacedKey<
|
|
|
46
46
|
* Command i18n built-in options keys
|
|
47
47
|
* @experimental
|
|
48
48
|
*/
|
|
49
|
-
type CommandBuiltinOptionsKeys = keyof (typeof
|
|
49
|
+
type CommandBuiltinOptionsKeys = keyof (typeof __constants_ts)["COMMON_OPTIONS"];
|
|
50
50
|
/**
|
|
51
51
|
* Command i18n built-in resource keys
|
|
52
52
|
* @experimental
|
|
53
53
|
*/
|
|
54
|
-
type CommandBuiltinResourceKeys = (typeof
|
|
54
|
+
type CommandBuiltinResourceKeys = (typeof __constants_ts)["COMMAND_BUILTIN_RESOURCE_KEYS"][number];
|
|
55
55
|
/**
|
|
56
56
|
* Command i18n built-in keys
|
|
57
57
|
* @description The command i18n built-in keys are used to {@link CommandContext.translate | translate} function
|