cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package cmd implements the different commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context) error

Execute is the entry point of the root command and subcommands.

Types

type ContextKey

type ContextKey int

ContextKey represents a value's key in the context.

const (
	NameKey    ContextKey = iota // NameKey is the key to the name value.
	VersionKey                   // VersionKey is the key to the version value.
	AuthorKey                    // AuthorKey is the key to the author value.
)

Jump to

Keyboard shortcuts

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