refactor(config): all uses of @default over to configuration

This commit is contained in:
Lewis Wynne 2025-12-18 12:54:06 +00:00
parent 6f39d532ce
commit 03a4ad1c00
5 changed files with 15 additions and 14 deletions

View file

@ -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)