Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/@aws-cdk/toolkit-lib/lib/api/io/toolkit-action.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* The current action being performed by the CLI. 'none' represents the absence of an action.
* The current action being performed by the Toolkit or CLI.
*/
export type ToolkitAction =
| 'assembly'
Expand Down
7 changes: 5 additions & 2 deletions packages/aws-cdk/lib/cli/io-host/cli-io-host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import { StackActivityProgress } from '../../commands/deploy';

export type { IIoHost, IoMessage, IoMessageCode, IoMessageLevel, IoRequest };

type CliAction =
/**
* The current action being performed by the CLI. 'none' represents the absence of an action.
*/
export type CliAction =
| ToolkitAction
| 'context'
| 'docs'
Expand All @@ -24,7 +27,7 @@ export interface CliIoHostProps {
*
* @default 'none'
*/
readonly currentAction?: ToolkitAction;
readonly currentAction?: CliAction;

/**
* Determines the verbosity of the output.
Expand Down
Loading