sub-command

command
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

this show case is for sub command

sub command is created by AddCommand, which returns a *Parser for programmer to bind arguments

sub command has different parse context from main parser (created by NewParser)

mainly use sub command to help user understand your program step by step

Jump to

Keyboard shortcuts

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