command
module
Version:
v0.0.0-...-b3d85f0
Opens a new window with list of versions in this module.
Published: Nov 9, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Tutorial: Go CLI
An example project of CLI utility written in Golang.
This example:
- defines project structure,
- is using Cobra CLI library and
- implements a few sample cli commands
This project exposes CLI tool with root command tutorgo
.
Resources
Cobra
Cobra CLI library is used by many CLI tools (for example kubectl).
Out of the box provides autocomplete generation.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.