Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeCommands ¶
func InitializeCommands(repos *repository.Repositories, srvs *service.Services) *cobra.Command
InitializeCommands sets up all commands and injects repositories into them
Types ¶
type CommandInterface ¶
type ImportScheduledAnimeCommand ¶
type ImportScheduledAnimeCommand struct {
// contains filtered or unexported fields
}
ImportScheduledAnimeCommand struct implements CommandInterface
func NewImportScheduledAnimeCommand ¶
func NewImportScheduledAnimeCommand(aniSrv *service.AniListService) *ImportScheduledAnimeCommand
func (*ImportScheduledAnimeCommand) Command ¶
func (c *ImportScheduledAnimeCommand) Command() *cobra.Command
Command returns the cobra.Command for the command
func (*ImportScheduledAnimeCommand) Handler ¶
func (c *ImportScheduledAnimeCommand) Handler(args ...interface{}) error
ImportScheduledAnimeHandler handles the scheduled anime import.
func (*ImportScheduledAnimeCommand) Name ¶
func (c *ImportScheduledAnimeCommand) Name() string
Name returns the name of the command
type TestCommand ¶
type TestCommand struct {
// contains filtered or unexported fields
}
TestCommand struct implements CommandInterface
func NewTestCommand ¶
func NewTestCommand(dbRepos dbRepos.DatabaseRepositories, repo *bSkyRepo.BlueSkyRepository, srv *bSkySrv.BlueSkyService) *TestCommand
func (*TestCommand) Command ¶
func (c *TestCommand) Command() *cobra.Command
Command returns the cobra.Command for the command
func (*TestCommand) Handler ¶
func (c *TestCommand) Handler(args ...interface{}) error
ImportScheduledAnimeHandler handles the scheduled anime import.
Click to show internal directories.
Click to hide internal directories.