Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI - Add login show and logout #1911

Merged
merged 96 commits into from
Oct 31, 2024
Merged

CLI - Add login show and logout #1911

merged 96 commits into from
Oct 31, 2024

Conversation

bfops
Copy link
Collaborator

@bfops bfops commented Oct 25, 2024

Description of Changes

  • Added the subcommand login show (to show the current login)
  • Replaced --clear-cache with a separate logout subcommand (which imo is easier to understand)
  • Made a small change to replace a .conflicts_with chain with an ArgGroup

API and ABI breaking changes

Yes; this removes --clear-cache.

Expected complexity level and risk

2

Testing

  • login clear removed the logins from my config file
  • login show when not logged in gives an error message
  • login show when logged in shows my identity
  • login show --token when logged in shows my identity + token

jsdt and others added 30 commits October 15, 2024 08:51
Base automatically changed from bfops/cli-replace-token to master October 29, 2024 20:46
@bfops bfops changed the title CLI - Login flow fixes CLI - Add login show and login clear Oct 29, 2024
@bfops bfops marked this pull request as ready for review October 29, 2024 20:54
Copy link
Contributor

@PuruVJ PuruVJ left a comment

Choose a reason for hiding this comment

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

Just one comment about logout

@bfops bfops changed the title CLI - Add login show and login clear CLI - Add login show and logout Oct 31, 2024
@bfops bfops added this pull request to the merge queue Oct 31, 2024
Merged via the queue into master with commit 3afa1e0 Oct 31, 2024
9 checks passed
@bfops bfops deleted the bfops/cli-login-2 branch October 31, 2024 18:31
mamcx pushed a commit that referenced this pull request Nov 5, 2024
Co-authored-by: Jeffrey Dallatezza <[email protected]>
Co-authored-by: Zeke Foppa <[email protected]>
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.

4 participants