Documentation ¶
Index ¶
- func GetAccountFlag(cmd *cobra.Command, flag string) (*accounts.Account, error)
- func GetCommodityFlag(cmd *cobra.Command, name string) (*commodities.Commodity, error)
- func GetDateFlag(cmd *cobra.Command, flag string) (*time.Time, error)
- func GetRegexFlag(cmd *cobra.Command, flag string) (*regexp.Regexp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountFlag ¶
GetAccountFlag is a helper to get an account passed as a flag to the command.
func GetCommodityFlag ¶
GetCommodityFlag is a helper to get a commodity passed as a flag to the command.
func GetDateFlag ¶
GetDateFlag is a helper to get a date passed as a flag to the command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.