Skip to content

Consistent handling of argv parameters - #534

Open
RyanZim wants to merge 1 commit into
masterfrom
ryan/argv
Open

Consistent handling of argv parameters#534
RyanZim wants to merge 1 commit into
masterfrom
ryan/argv

Conversation

@RyanZim

@RyanZim RyanZim commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Standardizes CLI argument handling and enables per-input config discovery.

Changes:

  • Destructures dir, output, and replace consistently.
  • Resolves configuration directories without mutating argv.config.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread index.js
printVerbose(pc.cyan(`Processing ${pc.bold(relativePath)}...`))

const config = (await rc(ctx, argv.config)) || cliConfig
const config = (await rc(ctx, configDir)) || cliConfig
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.

2 participants