ruff
Allow arbitrary configuration options to be overridden via the CLI
#9599
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
61
Changes
View On
GitHub
Allow arbitrary configuration options to be overridden via the CLI
#9599
AlexWaygood
merged 61 commits into
astral-sh:main
from
AlexWaygood:arbitrary-cli-overrides
WIP
d73a453b
Get it working with `--isolated`
159fada0
Get it working without `--isolated`
7cd900c3
i can spell
3cdbec7d
Fix a couple build/test failures
0f2cc2cc
MichaReiser
commented on 2024-01-22
Simplify `Configuration.transform()`
18daf07b
Remove unnecessary special casing
721653de
Just pass a `Vec` to `from_cli_options`
7bb72f50
BurntSushi
commented on 2024-01-22
Misc review comments
e7a1d89c
More docs cleanup
7c05cd5a
use an `Arc`
26b7dc8c
Use `clap` a little more for slightly prettier errors
59e6e0af
AlexWaygood
commented on 2024-01-23
Merge branch 'main' into arbitrary-cli-overrides
f33e91eb
regen docs
cd6b4ce9
Improve error messages
3fb5d213
Improve error messages more
2568265f
Merge branch 'main' into arbitrary-cli-overrides
d6a18fea
Add tests for some failure cases
83798902
Also test the formatter
366cd1b8
Many more tests
2583136e
spelling
981210c1
Simplify some code
3bfcae2a
Further improve error messages
e32dd0a1
cargo fmt
aca4af51
couple more tests
446517b2
Docs
c39fbd6b
AlexWaygood
marked this pull request as ready for review
1 year ago
MichaReiser
added
cli
MichaReiser
approved these changes on 2024-01-29
Apply suggestions from code review
ebd72865
add a newline
d771243a
Fix compile; address more Micha comments
be48c4fa
Couple more comments
8f79c656
Return `&Path` from `config_file()`
1cc613c5
Improve docs for `--config`
c12bb11d
regen docs
a8806912
Delete `Configuration::transform()`
59e07c3a
Rename the enum and its variants
7ec9e8a0
More consistent naming for arguments that take instances of `ConfigAr…
de846ba4
Better dev docs for the `ConfigArguments` struct
893f214a
Rework docs; improve test
0ccc608b
cargo fmt
b12a9c71
Don't return `clap::Error` after the initial argument-parsing phase
1501eeb4
AlexWaygood
requested a review
from
MichaReiser
1 year ago
AlexWaygood
requested a review
from
zanieb
1 year ago
MichaReiser
approved these changes on 2024-01-30
Various cleanups
e46c06a5
Merge branch 'main' into arbitrary-cli-overrides
e39aa393
Merge branch 'main' into arbitrary-cli-overrides
e1a3328f
Fixup some issues after merging in `main`
d83cfa5d
Fix remaining test failures
138c6c3a
Merge branch 'main' into arbitrary-cli-overrides
e500b39f
Merge branch 'main' into arbitrary-cli-overrides
acca9095
Fixup after merge
5e83ef88
Merge branch 'arbitrary-cli-overrides' of https://github.com/AlexWayg…
18da11bf
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
``
0b0917be
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
zanieb
commented on 2024-02-06
Address some Zanie comments
5074bffc
Merge branch 'arbitrary-cli-overrides' of https://github.com/AlexWayg…
c6019f74
Add a test for overriding a deprecated CLI option via the CLI
7d6f9dd1
regen docs
bb2e6eef
Use `insta-filters` for the tests where the tempdir path is included …
7739440e
Multiline tips instead of multiple tips
88e7273a
Make more concise
bccab4e7
Differentiate between TOML syntax errors and valid TOML that we don't…
6eea7977
AlexWaygood
requested a review
from
zanieb
1 year ago
charliermarsh
commented on 2024-02-09
charliermarsh
commented on 2024-02-09
charliermarsh
commented on 2024-02-09
charliermarsh
commented on 2024-02-09
charliermarsh
commented on 2024-02-09
charliermarsh
approved these changes on 2024-02-09
charliermarsh
commented on 2024-02-09
Address Charlie's docs review
983e5aa9
Add a transitional sentence
789d1d0d
AlexWaygood
enabled auto-merge (squash)
1 year ago
disabled auto-merge
1 year ago
Manually disabled by user
Merge branch 'main' into arbitrary-cli-overrides
0f8a5831
AlexWaygood
merged
8ec56277
into main
1 year ago
AlexWaygood
deleted the arbitrary-cli-overrides branch
1 year ago
Login to write a write a comment.
Login via GitHub
Reviewers
charliermarsh
MichaReiser
zanieb
BurntSushi
Assignees
No one assigned
Labels
cli
Milestone
No milestone
Login to write a write a comment.
Login via GitHub