cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package cmd implements the dfetch command-line interface (cobra): the root command and the query, run, queries, tables, and version subcommands. main calls Execute; each subcommand loads the config, builds the engine, and renders the result.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute runs the root command.

func SetVersion

func SetVersion(v string)

SetVersion sets the version string reported by `dfetch version`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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