git-coco 0.59.1 → 0.61.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/dist/index.d.ts CHANGED
@@ -528,37 +528,21 @@ declare const _default$7: {
528
528
  desc: string;
529
529
  builder: (yargs: yargs.Argv) => yargs.Argv<yargs.Omit<{}, string> & yargs.InferredOptionTypes<Record<string, yargs.Options>>>;
530
530
  handler: (argv: DoctorArgv) => Promise<void>;
531
+ options: Record<string, yargs.Options>;
531
532
  };
532
533
 
533
534
  type InstallationScope = 'global' | 'project';
535
+ interface InitOptions extends BaseCommandOptions {
536
+ scope?: InstallationScope;
537
+ dryRun?: boolean;
538
+ }
539
+ type InitArgv = Arguments<InitOptions>;
534
540
 
535
541
  declare const _default$6: {
536
542
  command: string;
537
543
  desc: string;
538
544
  builder: (yargs: yargs.Argv) => yargs.Argv<yargs.Omit<{}, string> & yargs.InferredOptionTypes<Record<string, yargs.Options>>>;
539
- handler: (argv: {
540
- [x: string]: unknown;
541
- scope?: InstallationScope | undefined;
542
- dryRun?: boolean | undefined;
543
- interactive: boolean;
544
- verbose: boolean;
545
- version: boolean;
546
- help: boolean;
547
- repo?: string | undefined;
548
- _: (string | number)[];
549
- $0: string;
550
- } | Promise<{
551
- [x: string]: unknown;
552
- scope?: InstallationScope | undefined;
553
- dryRun?: boolean | undefined;
554
- interactive: boolean;
555
- verbose: boolean;
556
- version: boolean;
557
- help: boolean;
558
- repo?: string | undefined;
559
- _: (string | number)[];
560
- $0: string;
561
- }>) => Promise<void>;
545
+ handler: (argv: InitArgv) => Promise<void>;
562
546
  options: Record<string, yargs.Options>;
563
547
  };
564
548
 
@@ -591,6 +575,7 @@ declare const _default$5: {
591
575
  desc: string;
592
576
  builder: (yargs: yargs.Argv) => yargs.Argv<yargs.Omit<{}, string> & yargs.InferredOptionTypes<Record<string, yargs.Options>>>;
593
577
  handler: (argv: IssuesArgv) => Promise<void>;
578
+ options: Record<string, yargs.Options>;
594
579
  };
595
580
 
596
581
  type LogFormat = 'table' | 'json';
@@ -651,6 +636,7 @@ declare const _default$3: {
651
636
  desc: string;
652
637
  builder: (yargs: yargs.Argv) => yargs.Argv<yargs.Omit<{}, string> & yargs.InferredOptionTypes<Record<string, yargs.Options>>>;
653
638
  handler: (argv: PrsArgv) => Promise<void>;
639
+ options: Record<string, yargs.Options>;
654
640
  };
655
641
 
656
642
  interface RecapOptions extends BaseCommandOptions {