@h3ravel/musket 0.6.5 → 0.6.6
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 +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -153,7 +153,7 @@ declare class Kernel<A extends Application = Application> {
|
|
|
153
153
|
/**
|
|
154
154
|
* The CLI configuration options
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
config: KernelConfig;
|
|
157
157
|
constructor(app: A);
|
|
158
158
|
ensureDirectoryExists(dir: string): Promise<void>;
|
|
159
159
|
/**
|
|
@@ -197,11 +197,11 @@ declare class Kernel<A extends Application = Application> {
|
|
|
197
197
|
*
|
|
198
198
|
* @param command
|
|
199
199
|
*/
|
|
200
|
-
registerCommands(commands: typeof Command[]): this;
|
|
200
|
+
registerCommands(commands: typeof Command<A>[]): this;
|
|
201
201
|
/**
|
|
202
202
|
* Get all the pre-registered commands
|
|
203
203
|
*/
|
|
204
|
-
getRegisteredCommands(): typeof Command[];
|
|
204
|
+
getRegisteredCommands(): typeof Command<A>[];
|
|
205
205
|
/**
|
|
206
206
|
* Prepares the CLI for execution
|
|
207
207
|
*/
|
|
@@ -484,7 +484,7 @@ declare class Signature {
|
|
|
484
484
|
* @param commandClass
|
|
485
485
|
* @returns
|
|
486
486
|
*/
|
|
487
|
-
static parseSignature<A extends Application = Application>(signature: string, commandClass: Command<A>): ParsedCommand
|
|
487
|
+
static parseSignature<A extends Application = Application>(signature: string, commandClass: Command<A>): ParsedCommand<A>;
|
|
488
488
|
}
|
|
489
489
|
//#endregion
|
|
490
490
|
export { Application, Command, CommandMethodResolver, CommandOption, Kernel, KernelConfig, Musket, PackageMeta, ParsedCommand, Signature };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h3ravel/musket",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "Musket CLI is a framework-agnostic CLI framework designed to allow you build artisan-like CLI apps and for use in the H3ravel framework.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|