Skip to content

Commit

Permalink
Merge pull request #1274 from oclif/mdonnalley/export-action
Browse files Browse the repository at this point in the history
fix: export action from ux
  • Loading branch information
iowillhoit authored Dec 19, 2024
2 parents 7ba6b2c + c7fad54 commit 8d5e1a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ux/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ const ACTION_TYPE =
'spinner') ||
'simple'

export const action = ACTION_TYPE === 'spinner' ? new Spinner() : new Simple()

export const ux = {
action: ACTION_TYPE === 'spinner' ? new Spinner() : new Simple(),
action,
/**
* Add color to text.
* @param color color to use. Can be hex code (e.g. `#ff0000`), rgb (e.g. `rgb(255, 255, 255)`) or a standard ansi color (e.g. `red`)
Expand Down

0 comments on commit 8d5e1a4

Please sign in to comment.