feat(cli): add login command and refactor shared helpers
This commit is contained in:
parent
0dafeaa70d
commit
4d35e197f0
8 changed files with 296 additions and 49 deletions
|
|
@ -64,6 +64,8 @@ Source: https://github.com/torrentclaw/unarr`,
|
|||
// Getting Started
|
||||
initCmd := newInitCmd()
|
||||
initCmd.GroupID = "start"
|
||||
loginCmd := newLoginCmd()
|
||||
loginCmd.GroupID = "start"
|
||||
configCmd := newConfigCmd()
|
||||
configCmd.GroupID = "start"
|
||||
migrateCmd := newMigrateCmd()
|
||||
|
|
@ -118,6 +120,7 @@ Source: https://github.com/torrentclaw/unarr`,
|
|||
rootCmd.AddCommand(
|
||||
// Getting Started
|
||||
initCmd,
|
||||
loginCmd,
|
||||
configCmd,
|
||||
migrateCmd,
|
||||
// Search & Discovery
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue