@h3ravel/musket 0.1.6 → 0.1.8

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.cjs CHANGED
@@ -514,7 +514,7 @@ var ListCommand = class ListCommand extends Command {
514
514
  this.newLine();
515
515
  console.log(version$1);
516
516
  this.newLine();
517
- console.log(altLogo);
517
+ console.log(this.kernel.config.logo ?? altLogo);
518
518
  this.newLine();
519
519
  __h3ravel_shared.Logger.log("Usage:", "yellow");
520
520
  __h3ravel_shared.Logger.log(" command [options] [arguments]", "white");
@@ -800,7 +800,7 @@ var Musket = class Musket {
800
800
  //#endregion
801
801
  //#region package.json
802
802
  var name = "@h3ravel/musket";
803
- var version = "0.1.6";
803
+ var version = "0.1.8";
804
804
  var 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.";
805
805
  var type = "module";
806
806
  var exports$1 = {
package/dist/index.d.cts CHANGED
@@ -82,10 +82,10 @@ interface InitConfig {
82
82
  /**
83
83
  * Packages that should show up up when the `-V` flag is passed
84
84
  */
85
- packages?: string[] | {
85
+ packages?: (string | {
86
86
  name: string;
87
87
  alias: string;
88
- }[];
88
+ })[];
89
89
  /**
90
90
  * If set to true, information about musket CLI like name and
91
91
  * version info will not be unexpectedly shown in console
@@ -117,7 +117,7 @@ declare class Kernel {
117
117
  }>[];
118
118
  basePath: string;
119
119
  packages: NonNullable<InitConfig['packages']>;
120
- private config;
120
+ config: InitConfig;
121
121
  constructor(app: Application);
122
122
  ensureDirectoryExists(dir: string): Promise<void>;
123
123
  static init(app: Application, config?: InitConfig): Promise<commander0.Command>;
package/dist/index.d.ts CHANGED
@@ -82,10 +82,10 @@ interface InitConfig {
82
82
  /**
83
83
  * Packages that should show up up when the `-V` flag is passed
84
84
  */
85
- packages?: string[] | {
85
+ packages?: (string | {
86
86
  name: string;
87
87
  alias: string;
88
- }[];
88
+ })[];
89
89
  /**
90
90
  * If set to true, information about musket CLI like name and
91
91
  * version info will not be unexpectedly shown in console
@@ -117,7 +117,7 @@ declare class Kernel {
117
117
  }>[];
118
118
  basePath: string;
119
119
  packages: NonNullable<InitConfig['packages']>;
120
- private config;
120
+ config: InitConfig;
121
121
  constructor(app: Application);
122
122
  ensureDirectoryExists(dir: string): Promise<void>;
123
123
  static init(app: Application, config?: InitConfig): Promise<commander0.Command>;
package/dist/index.js CHANGED
@@ -484,7 +484,7 @@ var ListCommand = class ListCommand extends Command {
484
484
  this.newLine();
485
485
  console.log(version$1);
486
486
  this.newLine();
487
- console.log(altLogo);
487
+ console.log(this.kernel.config.logo ?? altLogo);
488
488
  this.newLine();
489
489
  Logger.log("Usage:", "yellow");
490
490
  Logger.log(" command [options] [arguments]", "white");
@@ -770,7 +770,7 @@ var Musket = class Musket {
770
770
  //#endregion
771
771
  //#region package.json
772
772
  var name = "@h3ravel/musket";
773
- var version = "0.1.6";
773
+ var version = "0.1.8";
774
774
  var 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.";
775
775
  var type = "module";
776
776
  var exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/musket",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
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
  "exports": {