parser-config

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 'ParserConfig', showing how the config affect your parsing progress

set ParserConfig.Usage will change your usage line, which can sometime be too complex for user to read

set ParserConfig.EpiLog will append a message after help message, which is usually for contact info

set ParserConfig.DisableHelp will prevent the default help entry injection, with ParserConfig.DisableHelp, you won't see '-h' or '--help' entry

set ParserConfig.DisableDefaultShowHelp will farther prevent default help output when there is no user input

set ParserConfig.ContinueOnHelp will keep program going on when the original help action is done

the configs about 'Help' is not often used, most programmer may not care about it

Jump to

Keyboard shortcuts

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