sync

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	SimpleFINYnabAccountMapping map[string]string     `mapsep:";" name:"simplefin_ynab_account_mapping" help:"SimpleFIN account IDs mapped to YNAB account IDs"`
	Start                       string                `help:"If given, transactions will be restricted to those on or after this Unix epoch timestamp"`
	End                         string                `help:"If given, transactions will be restricted to those before (but not on) this Unix epoch timestamp"`
	PrintAccounts               bool                  `default:"false" help:"If present, will print the resolved SimpleFIN/YNAB account mapping"`
	Color                       transaction.FlagColor `default:"" enum:",red,orange,green,yellow,blue,purple" help:"The color of the transactions"`
}

func (*Cmd) Run

func (o *Cmd) Run(budgetID string, ynab ynabgo.ClientServicer, simplefin simplefin.Client, table *tablewriter.Table) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL