cli

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package cli wires the doclint Cobra command tree over the engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCmd

func NewRootCmd(version, commit, date string) *cobra.Command

NewRootCmd builds the command tree. version/commit/date come from main.

Types

type Options

type Options struct {
	ConfigPath string
	Format     string
	NoColor    bool
	Quiet      bool
}

Options holds resolved global flags.

Jump to

Keyboard shortcuts

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