refactor(credentials): promote login/logout to top-level actions (#292)

## Problem

`:CP credentials login/logout/clear` is verbose and inconsistent with
other
actions that are all top-level (`:CP run`, `:CP submit`, etc.). The
clear-all
subcommand is also unnecessary since re-logging in overwrites existing
credentials.

## Solution

Replace `:CP credentials {login,logout,clear}` with `:CP login
[platform]`
and `:CP logout [platform]`. Remove the clear-all command and the
credentials
subcommand dispatch — login/logout are now regular actions routed
through the
standard action dispatcher.
This commit is contained in:
Barrett Ruth 2026-03-04 13:09:32 -05:00 committed by GitHub
parent 98ac0aa7a7
commit 49e0ae3885
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 28 additions and 73 deletions

View file

@ -13,7 +13,8 @@ M.ACTIONS = {
'race',
'stress',
'submit',
'credentials',
'login',
'logout',
}
M.PLATFORM_DISPLAY_NAMES = {