@cenk1cenk2/oclif-common 5.0.2 → 5.0.3
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/index.d.ts +2 -2
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Command as Command$1, ux, Hook } from '@oclif/core';
|
|
2
|
-
export { Flags, ux } from '@oclif/core';
|
|
2
|
+
export { Args, Flags, ux } from '@oclif/core';
|
|
3
3
|
import { ExecaChildProcess } from 'execa';
|
|
4
4
|
import { ListrTaskWrapper, splat, ListrContext, Manager, PromptOptions } from 'listr2';
|
|
5
5
|
import { Logger as Logger$1, LeveledLogMethod } from 'winston';
|
|
@@ -301,7 +301,7 @@ interface ConfigCommandSetup<T extends string = string, LockFile = any> {
|
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
type InferFlags<T extends typeof Command$1> = InferredFlags<T['baseFlags'] & T['flags']>;
|
|
304
|
-
type InferArgs<T extends typeof Command$1> = Record<T['args']
|
|
304
|
+
type InferArgs<T extends typeof Command$1> = Record<keyof T['args'], string>;
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* Makes the object deep partial.
|
package/dist/index.js
CHANGED
|
@@ -1460,4 +1460,5 @@ var storeHook = /* @__PURE__ */ __name((cb) => async (opts) => {
|
|
|
1460
1460
|
|
|
1461
1461
|
|
|
1462
1462
|
|
|
1463
|
-
|
|
1463
|
+
|
|
1464
|
+
exports.Args = _core.Args; exports.CLI_FLAGS = CLI_FLAGS; exports.Command = Command; exports.ConfigCommand = ConfigCommand; exports.ConfigService = ConfigService; exports.EnvironmentVariableParser = EnvironmentVariableParser; exports.FileConstants = FileConstants; exports.FileSystemService = FileSystemService; exports.Flags = _core.Flags; exports.HelpGroups = HelpGroups; exports.JsonParser = JsonParser; exports.LockerService = LockerService; exports.LogFieldStatus = LogFieldStatus; exports.LogLevels = LogLevels; exports.Logger = Logger; exports.MergeStrategy = MergeStrategy; exports.ParserService = ParserService; exports.StoreService = StoreService; exports.ValidatorService = ValidatorService; exports.YamlParser = YamlParser; exports.fs = _fsextra2.default; exports.isDebug = isDebug; exports.isSilent = isSilent; exports.isVerbose = isVerbose; exports.merge = merge; exports.notFoundHook = notFoundHook; exports.pipeProcessThroughListr = pipeProcessThroughListr; exports.pipeProcessToLogger = pipeProcessToLogger; exports.setCtxAssign = setCtxAssign; exports.setCtxDefaults = setCtxDefaults; exports.setup = setup; exports.storeHook = storeHook; exports.uniqueFilter = uniqueFilter; exports.updateNotifierHook = updateNotifierHook; exports.ux = _core.ux;
|