finishing sqlite changes
- finished default/active server logic - dev done - needs testing
This commit is contained in:
@@ -17,8 +17,7 @@ import (
|
||||
var updateCmd = &cobra.Command{
|
||||
Use: "update",
|
||||
Example: "mctl server update <name>",
|
||||
// Short: "Saves a new server configuration",
|
||||
// Long: `Saves server address, alias, port, and password.`,
|
||||
Short: "updates a saved servers password in the database",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
//read in password using term to keep it secure/hidden from bash history
|
||||
fmt.Printf("Password: ")
|
||||
|
||||
Reference in New Issue
Block a user