command

package
v0.0.0-...-1cf6d8d Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCurrentCommand

func NewCurrentCommand() *cobra.Command

NewCurrentCommand initializes a CLI command to display information for the currently selected entry.

func NewGatherCommand

func NewGatherCommand() *cobra.Command

NewGatherCommand initializes a CLI command to gather top submissions from the configured Subreddits.

func NewHistoryCommand

func NewHistoryCommand() *cobra.Command

NewHistoryCommand initializes a CLI command to display the history of the selected entries.

func NewInfoCommand

func NewInfoCommand() *cobra.Command

NewInfoCommand initializes a CLI command to display information on a given Submission.

func NewListCandidatesCommand

func NewListCandidatesCommand() *cobra.Command

NewListCandidates initializes a CLI command to list Submissions suitable for the current monitor configuration.

func NewMigrateCommand

func NewMigrateCommand() *cobra.Command

NewMigrateCommand initializes a CLI command to create database tables and run SQL migrations.

func NewRandomCommand

func NewRandomCommand() *cobra.Command

NewRandomCommand initializes a CLI command to select a random submission suitable for the current monitor setup.

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand initializes the main CLI entrypoint and common command flags.

func NewSearchCommand

func NewSearchCommand() *cobra.Command

NewSearchCommand initializes a CLI command to search Submissions.

func NewStatsCommand

func NewStatsCommand() *cobra.Command

NewStatsCommand initializes a CLI command to display statistics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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