Skip to content

stanislav-brabec/genopts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genopts is script for generating nice GNU getopt-like bash-only parsers
in scripts.

Features:
- Meta language for switch description.
- Automatic generating of --help and --version string.
- Pure bash coding - no external utilities needed.
  NLS support.
- No docs yet, but complete example added.

Do ./genopts genopts_example and watch what was happened.
Then do ./genopts_example --help and continue in testing.

Only NLS isn't added in this example:
@textdomain nlsdomain
causes enabling NLS on all strings with defined TEXTDOMAIN.

http://www.penguin.cz/~utx/
https://github.com/stanislav-brabec/genopts
http://www.penguin.cz/~utx/ftp/genopts/
ftp://ftp.penguin.cz/pub/users/utx/genopts/

About

genopts: Generator of Bash based option parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published