refactor(config): all uses of @default over to configuration
This commit is contained in:
parent
6f39d532ce
commit
03a4ad1c00
5 changed files with 15 additions and 14 deletions
|
|
@ -41,7 +41,7 @@ var listCmd = &cobra.Command{
|
|||
|
||||
func list(cmd *cobra.Command, args []string) error {
|
||||
store := &Store{}
|
||||
targetDB := "@default"
|
||||
targetDB := "@" + config.DefaultDB
|
||||
if len(args) == 1 {
|
||||
rawArg := args[0]
|
||||
dbName, err := store.parseDB(rawArg, false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue