Skip to content

fix: add -v/--verbose to explore, record, generate, cascade#719

Open
Astro-Han wants to merge 1 commit intojackwener:mainfrom
Astro-Han:worktree-fix-explore-verbose
Open

fix: add -v/--verbose to explore, record, generate, cascade#719
Astro-Han wants to merge 1 commit intojackwener:mainfrom
Astro-Han:worktree-fix-explore-verbose

Conversation

@Astro-Han
Copy link
Copy Markdown
Contributor

Description

Built-in browser commands (explore, record, generate, cascade) are registered directly in cli.ts and missed the -v/--verbose flag that commanderAdapter.ts wires up for adapter commands. This PR adds the flag to all four commands using the same process.env.OPENCLI_VERBOSE = '1' pattern.

Also switches the lone log.debug() in explore.ts to log.verbose() so the flag has visible effect.

Related issue: #716

Type of Change

  • 🐛 Bug fix

Checklist

  • I ran the checks relevant to this PR
  • I updated tests or docs if needed
  • I included output or screenshots when useful

Built-in browser commands were registered directly in cli.ts and
missed the -v/--verbose flag that commanderAdapter.ts wires up for
adapter commands. Also switch explore's lone log.debug() call to
log.verbose() so the flag has visible effect.

Closes jackwener#716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant