Login Password

Bash optparse

Description

An advanced command line parsing system for Bash.

This program brings into bash a method for parsing the command line which is somehow similar in spirit to python’s optparse, or boost::program_options or others, i.e. it provides a framework in which the program options and arguments are described in a compact format and passed to bash_optparse, which in turn produces a portion of bash script which performs the parsing, sets default values, implements dynamic checks for type and range of the variables, auto-generates a nicely formatted usage() function etc.

It uses python internally.

RSS

Project Activity

  • Carlo Baldassi posted an update in the project Bash optparse:   1 year, 2 months ago · View

    Pushed the git repository with two branches: master and python3.
    The project is fully functional and reasonably stable.

bettercodes.org is released as free software without warranties under GNU Affero GPL v3