git-coco 0.34.0 → 0.35.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
@@ -238,6 +238,11 @@ type BaseConfig = {
238
238
  * Theme settings for `coco log -i`.
239
239
  */
240
240
  theme?: LogInkThemeConfig;
241
+ /**
242
+ * Rotate short usage tips through the status line when the TUI has been
243
+ * idle for >10s. Off by default so power users aren't distracted.
244
+ */
245
+ idleTips?: boolean;
241
246
  };
242
247
  };
243
248
  type ConfigWithServiceObject = BaseConfig & Partial<BaseCommandOptions> & {
@@ -266,7 +271,7 @@ interface ChangelogOptions extends BaseCommandOptions {
266
271
  }
267
272
  type ChangelogArgv = Arguments<ChangelogOptions>;
268
273
 
269
- declare const _default$5: {
274
+ declare const _default$6: {
270
275
  command: string;
271
276
  desc: string;
272
277
  builder: (yargs: yargs.Argv) => yargs.Argv<yargs.Omit<{}, string> & yargs.InferredOptionTypes<Record<string, yargs.Options>>>;
@@ -289,7 +294,7 @@ interface CommitOptions extends BaseCommandOptions {
289
294
  }
290
295
  type CommitArgv = Arguments<CommitOptions>;
291
296
 
292
- declare const _default$4: {
297
+ declare const _default$5: {
293
298
  command: string;
294
299
  desc: string;
295
300
  builder: (yargs: yargs.Argv) => yargs.Argv<yargs.Omit<{}, string> & yargs.InferredOptionTypes<Record<string, yargs.Options>>>;
@@ -297,6 +302,18 @@ declare const _default$4: {
297
302
  options: Record<string, yargs.Options>;
298
303
  };
299
304
 
305
+ interface DoctorOptions extends BaseCommandOptions {
306
+ fix?: boolean;
307
+ }
308
+ type DoctorArgv = Arguments<DoctorOptions>;
309
+
310
+ declare const _default$4: {
311
+ command: string;
312
+ desc: string;
313
+ builder: (yargs: yargs.Argv) => yargs.Argv<yargs.Omit<{}, string> & yargs.InferredOptionTypes<Record<string, yargs.Options>>>;
314
+ handler: (argv: DoctorArgv) => Promise<void>;
315
+ };
316
+
300
317
  type InstallationScope = 'global' | 'project';
301
318
 
302
319
  declare const _default$3: {
@@ -539,5 +556,5 @@ declare namespace types_d {
539
556
  export type { types_d_BaseParserInput as BaseParserInput, types_d_BaseParserOptions as BaseParserOptions, types_d_CommandHandler as CommandHandler, types_d_CommitLogParserInput as CommitLogParserInput, types_d_ConfirmMessage as ConfirmMessage, types_d_ConfirmMessageCallback as ConfirmMessageCallback, types_d_DiffNode as DiffNode, types_d_DirectoryDiff as DirectoryDiff, types_d_FileChange as FileChange, types_d_FileChangeParserInput as FileChangeParserInput, types_d_FileChangeStatus as FileChangeStatus, types_d_FileDiff as FileDiff, types_d_GetChangesResult as GetChangesResult };
540
557
  }
541
558
 
542
- export { _default$5 as changelog, _default$4 as commit, _default$3 as init, _default$2 as log, _default$1 as recap, types_d as types, _default as ui };
559
+ export { _default$6 as changelog, _default$5 as commit, _default$4 as doctor, _default$3 as init, _default$2 as log, _default$1 as recap, types_d as types, _default as ui };
543
560
  export type { Config$1 as Config };