Documentation
¶
Index ¶
- Variables
- func NewAddCommand(logger *logging.Logger, entryRepo storage.EntryRepository, ...) *cli.Command
- func NewListCommand(logger *logging.Logger, entryRepo storage.EntryRepository, ...) *cli.Command
- func NewRemoveCommand(logger *logging.Logger, entryRepo storage.EntryRepository, ...) *cli.Command
- func NewSyncCommand(logger *logging.Logger, entryRepo storage.EntryRepository, ...) *cli.Command
- type AddCommand
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ERR_ADD_CMD = errors.New("failed to add new entry") ERR_MISSED_ARGS = errors.New("missed args") )
View Source
var (
ERR_LIST_CMD = errors.New("failed to retrieve entries")
)
View Source
var (
ERR_REMOVE_CMD = errors.New("failed to remove entry")
)
View Source
var (
ERR_UPDATE_CMD = errors.New("failed to update")
)
Functions ¶
func NewAddCommand ¶
func NewAddCommand(logger *logging.Logger, entryRepo storage.EntryRepository, settingsRepo storage.SettingsRepository) *cli.Command
func NewListCommand ¶
func NewListCommand(logger *logging.Logger, entryRepo storage.EntryRepository, settingsRepo storage.SettingsRepository) *cli.Command
func NewRemoveCommand ¶
func NewRemoveCommand(logger *logging.Logger, entryRepo storage.EntryRepository, settingsRepo storage.SettingsRepository) *cli.Command
func NewSyncCommand ¶
func NewSyncCommand(logger *logging.Logger, entryRepo storage.EntryRepository, settingsRepo storage.SettingsRepository) *cli.Command
Types ¶
type AddCommand ¶
Click to show internal directories.
Click to hide internal directories.