cmd

package
v0.1.31 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Overview

Package cmd contains the core commands and initialization logic for the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(r *cobra.Command) error

Execute executes the provided root command and exits on error.

func NewRootCmd added in v0.1.30

func NewRootCmd(cfg *config.Config) *cobra.Command

NewRootCmd is the main command.

func Setup added in v0.1.30

func Setup(root *cobra.Command, cfg *config.Config)

Setup registers all application commands with the CLI.

Types

This section is empty.

Directories

Path Synopsis
Package appcfg manages the application's configuration, including reading from and writing to configuration files (e.g., YAML), and providing helper functions for command-line configuration logic.
Package appcfg manages the application's configuration, including reading from and writing to configuration files (e.g., YAML), and providing helper functions for command-line configuration logic.
Package create provides Cobra subcommands for creating new entities, including bookmarks, databases, and backups.
Package create provides Cobra subcommands for creating new entities, including bookmarks, databases, and backups.
Package database handles bookmarks database management operations.
Package database handles bookmarks database management operations.
Package git...
Package git...
Package health provides bookmark health verification and maintenance.
Package health provides bookmark health verification and maintenance.
wayback
Package wayback provides commands for querying the Internet Archive Wayback Machine to retrieve historical snapshots of bookmarked URLs.
Package wayback provides commands for querying the Internet Archive Wayback Machine to retrieve historical snapshots of bookmarked URLs.
Package io contains functions to export/import bookmarks.
Package io contains functions to export/import bookmarks.
Package records provides Cobra subcommands for managing bookmarks and related entities, including record queries, actions, and tag operations.
Package records provides Cobra subcommands for managing bookmarks and related entities, including record queries, actions, and tag operations.
Package setup provides commands for initializing and configuring the bookmark database.
Package setup provides commands for initializing and configuring the bookmark database.

Jump to

Keyboard shortcuts

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