mirror of
https://github.com/mitchell/selfpass.git
synced 2025-12-14 21:27:22 +00:00
Added update command; refactored duplicated code for selecting a credential
This commit is contained in:
parent
e51ee55f07
commit
d3fa22dbb2
11 changed files with 362 additions and 186 deletions
|
|
@ -34,9 +34,9 @@ can interact with the entire Selfpass API.`,
|
|||
rootCmd.AddCommand(makeDecryptCfg(mgr))
|
||||
rootCmd.AddCommand(commands.MakeList(makeInitClient(mgr, clientInit)))
|
||||
rootCmd.AddCommand(commands.MakeCreate(mgr, makeInitClient(mgr, clientInit)))
|
||||
rootCmd.AddCommand(commands.MakeUpdate(mgr, makeInitClient(mgr, clientInit)))
|
||||
rootCmd.AddCommand(commands.MakeGet(mgr, makeInitClient(mgr, clientInit)))
|
||||
rootCmd.AddCommand(commands.MakeDelete(makeInitClient(mgr, clientInit)))
|
||||
rootCmd.AddCommand(commands.MakeCBCtoGCM(mgr, makeInitClient(mgr, clientInit)))
|
||||
|
||||
check(rootCmd.Execute())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue