cmd

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AvailabilityCmd = &cobra.Command{
	Use:   "availability",
	Short: "Returns a range of dates for when your banking data is available",
	Run:   availabilityCmdHandler,
}
View Source
var LoginCmd = &cobra.Command{
	Use:   "login",
	Short: "Log in to your fold account",
	Long:  `This command must be run before running any other command to authenticate the CLI`,
	Run:   loginCmdHandler,
}
View Source
var RefreshCmd = &cobra.Command{
	Use:   "refresh",
	Short: "Refresh your auth tokens",
	Run:   refreshCmdHandler,
}
View Source
var TransactionsCmd = &cobra.Command{
	Use:   "transactions",
	Short: "Prints the transactions from all of your accounts (default period: 1 month)",
	Run:   setupTransactionsCmdHandler,
}
View Source
var UserCmd = &cobra.Command{
	Use:   "user",
	Short: "Get your account details",
	Long:  "Save your account details in the config file",
	Run:   userCmdHandler,
}

Functions

func Execute

func Execute() error

Execute executes the root command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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