Remove bt config#278
Open
Cedric / ViaDézo1er (viadezo1er) wants to merge 8 commits into
Open
Conversation
first draft BREAKING-CHANGE: --profile and --prefer-profile removed Breaks any script using them
…n to use the new auth storage format orgid,email
remove dead code
The field is needed by OAuth but it's unused both bt and the backend Therefore exposing it is useless Now bt_cli is hardcoded as its value
used to edit the config.json files bt switch has replaced its role config.mod.rs is still useful
Contributor
|
Latest downloadable build artifacts for this PR commit
Available artifact names
|
Cedric / ViaDézo1er (viadezo1er)
marked this pull request as ready for review
July 17, 2026 23:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bt configwas a command to edit theconfig.jsonfiles in~/.config/btand.btin git projects, but it has never been used: since it was introduced in 09e5041, it has always been commented insrc/main.rs.src/config/mod.rshas been transformed into a helper used for authentication by the switch, status, auth, init and sync subcommands. As such, I think moving it tosrc/config.rsmakes the most sense.Based on cedric/prune-profiles from #274, will be merged after it.
For reviews, don't forget to compare against cedric/prune-profiles and not against main.