csv

package
v0.0.0-...-341372b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCSV

func NewCmdCSV(o *Options) *cobra.Command

NewCmdCSV creates the `csv` command.

func NewCmdCSVDownload

func NewCmdCSVDownload(o *DownloadOption) *cobra.Command

NewCmdCSVDownload creates the `csv download` command.

Types

type DownloadOption

type DownloadOption struct {
	MoneyForwardEmail    string
	MoneyForwardPassword string
	// contains filtered or unexported fields
}

DownloadOption is the option for the `csv download` command.

func (*DownloadOption) Parse

func (o *DownloadOption) Parse() error

Parse parses options.

func (*DownloadOption) Run

func (o *DownloadOption) Run() error

Run executes the `csv download` command.

func (*DownloadOption) Validate

func (o *DownloadOption) Validate() error

Validate checks options.

type Options

type Options struct {
	DownloadOption *DownloadOption
}

Options is the collection of options for the `db` command and its sub command.

Jump to

Keyboard shortcuts

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