feat: add live refresh for live,switch,remove commands#66
Merged
Conversation
@loongphy/codex-auth-darwin-arm64
@loongphy/codex-auth-darwin-x64
@loongphy/codex-auth-linux-arm64
@loongphy/codex-auth-linux-x64
@loongphy/codex-auth-win32-arm64
@loongphy/codex-auth-win32-x64
@loongphy/codex-auth
commit: |
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.
New Commands
--livemode forlist,switch, andremoveswitch --live --autofor automatic account switchingWhat
--liveMeans--livekeeps the TUI open and refreshes the current view in placeswitch --live, you can keep watching the latest account state and switch accounts from the same long-running view without leaving the picker--livea better fit for keeping a terminal open as a longer-term account dashboardNote
--autocannot be used by itself. It must be used together with--live, asswitch --live --auto.switch --live --autoAuto Switch RulesError account: the usage API returns a non-200 statusExhausted account: the 5h or weekly usage window reaches 0 remainingTUI
Deprecated
list --debug; use--liveinstead