@@ -105,7 +105,7 @@ If this is your first time, run:
105105This creates your config, encryption key, and database. After setup, you can
106106link financial institutions and sync transactions locally.
107107` ,
108- Version : fmt .Sprintf ("%s (commit %s)" , Version , Commit ),
108+ Version : fmt .Sprintf ("%s (commit %s)" , Version , Commit ),
109109 Example : ` money setup
110110 money link "Chase"
111111 money sync
@@ -473,8 +473,8 @@ func newAccountsCommand(ctx context.Context, state *runtimeState, stdout io.Writ
473473 Example : " money accounts list\n money accounts list --verbose --json\n money accounts create-manual --name Savings --type depository --balance 1000.00 --currency USD --confirm" ,
474474 }
475475 listCmd := & cobra.Command {
476- Use : "list" ,
477- Short : "List accounts" ,
476+ Use : "list" ,
477+ Short : "List accounts" ,
478478 Example : " money accounts list\n money accounts list --verbose\n money accounts list --json" ,
479479 RunE : func (cmd * cobra.Command , args []string ) error {
480480 activeStore , err := requireStore (state )
@@ -625,7 +625,7 @@ func newTransactionsCommand(ctx context.Context, state *runtimeState, stdout io.
625625 Use : "search <query>" ,
626626 Short : "Search transactions" ,
627627 Example : " money transactions search \" whole foods\" \n money transactions search uber --limit 10" ,
628- Args : cobra .ExactArgs (1 ),
628+ Args : cobra .ExactArgs (1 ),
629629 RunE : func (cmd * cobra.Command , args []string ) error {
630630 activeStore , err := requireStore (state )
631631 if err != nil {
@@ -727,8 +727,8 @@ func newCategoriesCommand(ctx context.Context, state *runtimeState, stdout io.Wr
727727 Example : " money categories list\n money categories list --verbose --json" ,
728728 }
729729 listCmd := & cobra.Command {
730- Use : "list" ,
731- Short : "List categories" ,
730+ Use : "list" ,
731+ Short : "List categories" ,
732732 Example : " money categories list\n money categories list --verbose" ,
733733 RunE : func (cmd * cobra.Command , args []string ) error {
734734 activeStore , err := requireStore (state )
@@ -1038,16 +1038,16 @@ func newImportCommand(ctx context.Context, state *runtimeState, stdout io.Writer
10381038 Short : "Import accounts and transactions from " + sourceName ,
10391039 Args : cobra .ExactArgs (1 ),
10401040 RunE : func (cmd * cobra.Command , args []string ) error {
1041- if state .json && ! dryRun && ! confirm {
1042- return cliError {
1043- command : "import." + sourceName ,
1044- code : "CONFIRMATION_REQUIRED" ,
1045- message : "JSON import writes require --dry-run or --confirm" ,
1046- category : contracts .CategoryValidation ,
1047- retryable : false ,
1048- exitCode : 2 ,
1041+ if state .json && ! dryRun && ! confirm {
1042+ return cliError {
1043+ command : "import." + sourceName ,
1044+ code : "CONFIRMATION_REQUIRED" ,
1045+ message : "JSON import writes require --dry-run or --confirm" ,
1046+ category : contracts .CategoryValidation ,
1047+ retryable : false ,
1048+ exitCode : 2 ,
1049+ }
10491050 }
1050- }
10511051 if batchID == "" {
10521052 batchID = time .Now ().UTC ().Format ("20060102T150405Z" )
10531053 }
@@ -1587,7 +1587,6 @@ func newPlaidLogoutCommand(state *runtimeState, stdout io.Writer, commandName st
15871587 return cmd
15881588}
15891589
1590-
15911590type providerAvailabilityRow struct {
15921591 Provider string
15931592 Status string
0 commit comments