arrg
arrg is a Python library for building modular command-line applications.
Heavily inspired by the Rust crate
structopt.
Installation
Simply install the package via the Python package manager pip.
$ pip install arrgUsage
Below is a very simple example demonstrating the usage of the app decorator.
from arrg import app
@app
class Arguments:
input: str
def run(self):
print(self.input)
if __name__ == '__main__':
Arguments.from_args().run()