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 NewSettingsCommand(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 application") ERR_GET_ENTRIES = errors.New("failed to get list of registered applications") ERR_MISSED_ARGS = errors.New("missed args") )
View Source
var ( ERR_SETTINGS_CMD = errors.New("failed to set new setting") ERR_MISSED_VALUE = errors.New("missed value") ERR_MISSED_KEY = errors.New("missed key") ERR_MANY_ARGS = errors.New("too many arguments") ERR_INVALID_PREFIX = errors.Errorf("prefix must be one of '%s' / '%s'", core.PRIMUSRUN, core.OPTIRUN) ERR_UPDATE_APPS = errors.New("failed to update applications") )
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 NewSettingsCommand ¶
func NewSettingsCommand(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.