cmd

package
v0.0.0-...-3c7f4e4 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExportCmd

func NewExportCmd(config *Config) *cobra.Command

func NewPlaidCmd

func NewPlaidCmd(config *Config) *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

Types

type Config

type Config struct {
	Accounts         map[string]string
	Rules            []Rule
	PlaidClientID    string `mapstructure:"PLAID_CLIENT_ID" toml:"-"`
	PlaidSecret      string `mapstructure:"PLAID_SECRET" toml:"-"`
	PlaidPublicKey   string `mapstructure:"PLAID_PUBLIC_KEY" toml:"-"`
	PlaidAccessToken string `mapstructure:"PLAID_ACCESS_TOKEN" toml:"-"`
}

type Rule

type Rule struct {
	If   string
	Then Then
}

type Then

type Then struct {
	Account2 string
}

config

Jump to

Keyboard shortcuts

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