Documentation
¶
Overview ¶
Package cli provides the command-line interface for dumber.
Index ¶
- func NewBrowseCmd() *cobra.Command
- func NewConfigCmd() *cobra.Command
- func NewDmenuCmd() *cobra.Command
- func NewHistoryCmd() *cobra.Command
- func NewLogsCmd() *cobra.Command
- func NewPurgeCmd() *cobra.Command
- func NewRootCmd(version, commit, buildDate string) *cobra.Command
- type CLI
- type DmenuOption
- type PurgeFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigCmd ¶ added in v0.12.0
NewConfigCmd creates the config command
func NewDmenuCmd ¶
NewDmenuCmd creates the dmenu command for launcher integration
func NewLogsCmd ¶ added in v0.5.0
NewLogsCmd creates the logs command and its subcommands
func NewPurgeCmd ¶ added in v0.4.0
NewPurgeCmd creates the purge command
func NewRootCmd ¶
NewRootCmd creates the root command for dumber
Types ¶
type CLI ¶
type CLI struct {
DB *sql.DB
Queries *db.Queries
Config *config.Config
ParserService *services.ParserService
}
CLI holds the database connection, queries, and configuration for the CLI commands
type DmenuOption ¶
type DmenuOption struct {
}
DmenuOption represents a selectable option in dmenu mode
Click to show internal directories.
Click to hide internal directories.