feat: add global --config flag to override netlify.toml location#8255
feat: add global --config flag to override netlify.toml location#8255sean-roberts wants to merge 2 commits into
Conversation
The code in base-command.ts was already prepared to handle a --config flag (at line 627), but the option was never actually defined. This caused "unknown option '--config'" errors when users tried to specify a custom config file path. This is useful when working in subdirectories where you want to ignore parent directory netlify.toml files and use a local config instead. https://claude.ai/code/session_017b75UnpDTsU6M9dQhokQr1
|
No actionable comments were generated in the recent review. π βΉοΈ Recent review infoβοΈ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: π Files selected for processing (1)
π WalkthroughSummary by CodeRabbit
WalkthroughA single line is added to Estimated code review effortπ― 1 (Trivial) | β±οΈ ~2 minutes π₯ Pre-merge checks | β 5β Passed checks (5 passed)
βοΈ Tip: You can configure your own custom pre-merge checks in the settings. β¨ Finishing Touchesπ Generate docstrings
π§ͺ Generate unit tests (beta)
Comment |
The code in base-command.ts was already prepared to handle a --config flag (at line 627), but the option was never actually defined. This caused "unknown option '--config'" errors when users tried to specify a custom config file path.
This is useful when working in subdirectories where you want to ignore parent directory netlify.toml files and use a local config instead.
https://claude.ai/code/session_017b75UnpDTsU6M9dQhokQr1
π Thanks for submitting a pull request! π
Summary
Fixes #<replace_with_issue_number>
For us to review and ship your PR efficiently, please perform the following steps:
passes our tests.
A picture of a cute animal (not mandatory, but encouraged)