cmd

package
v0.0.0-...-fb72b73 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package cmd provides functions set and get with cobra library

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...RootOptions) *root

New function create commands to the cobra CLI RootOptions adds additional features to the cobra CLI

Types

type RootOptions

type RootOptions func(o *options)

func Version

func Version(ver string) RootOptions

Version is optional function can add version flag to root

Jump to

Keyboard shortcuts

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