feat: add ora spinner (v9.3.0) while running shell

This commit is contained in:
2026-03-23 14:27:23 +05:30
parent 6b07a7ac2a
commit e4d3e0e263
12 changed files with 201 additions and 72 deletions
+10
View File
@@ -129,6 +129,16 @@ export interface CommandResult {
stderr: string;
}
/**
* Options for running a shell command.
*/
export interface RunCommandOptions {
/** Caller context: 'cli' shows spinner, 'tool' does not. */
mode?: "cli" | "tool";
/** Message to display in the spinner while the command runs. */
spinnerMsg?: string;
}
/**
* Information about a git worktree.
*/