semvec/pypi-packages huggingface dataset:
skadoo 0.0.0b5
Python library for buiding command line programs.
License: MIT

![tests](https://github.com/cnpls/skadoo/workflows/tests/badge.svg)

# skadoo

Python library for building command line programs.

## Installation

`pip install skadoo`

## Usage

In your Python script use `skadoo` to create command line arguments.

_my_script.py_
```py
import skadoo


# create flag args
my_flag = skadoo.create_flag(name="my flag", description="my flag argument")

# create root arguments
my_root = skadoo.create_root(
    name="My Root", description="my root argument", flags=(my_flag)
)

if __name__ == "__main__":
    print("root used:", my_root.name, f"flag ({my_flag.name}) value: {my_flag.value}")

    # or

    print("root used:", my_root.name, f"flag ({my_root.flags["my flag"].flag}) value: {my_root.flags["my flag"].value}")
```

Run `python my_script.py my_root --my-flag="value"`