Update `prvd accounts` on CLI
Opened this issue · 1 comments
zacparker41 commented
Update `prvd accounts` on CLI
zacparker41 commented
As a user, when I type prvd accounts init
I should be prompted to select appropriate / relevant choices from a menu, e.g.:
- What type of account is this? (U)ser (O)rganization or (A)pplication
- On which
network
should the account be created? (display currently availablenetworks
) - Based on the user's selection, they should then be presented with a contextualized menu:
-- If user choosesU
, no further action is required and the account is created for the currently authenticated user on the specifiednetwork
-- If user choosesO
, they should see anorganization
selection with results narrowed by organizations on the selected network for the authenticated user
-- If user choosesA
, they should see anapplication
selection with results narrowed by applications on the selected network for the authenticated user
For the moment, we will assume all accounts are custodial accounts, and that if a user requires the use of a non-custodial account, or wishes to add other flags (i.e. config and verbose), they will do so with long form command entry
prvd accounts list
should display organization name with listed accounts