Metadata-Version: 2.1
Name: pike-tasks
Version: 0.0.1
Summary: Like make, but Python
Home-page: https://github.com/RealOrangeOne/pike
Author: Jake Howard
License: BSD
Project-URL: Changelog, https://github.com/RealOrangeOne/pike/releases
Project-URL: Issues, https://github.com/RealOrangeOne/pike/issues
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Information Technology
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development
Classifier: Typing :: Typed
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: docstring-parser

# pike

It's `make`, but Python.

## Example

See [`examples/pikefile.py`](examples/pikefile.py) for an example file.

```
$ pike -f ./examples/pikefile.py --help
usage: pike [-h] [--file FILE] [--list] [--validate] {do-thing,wrapped-task} ...

An example pikefile

optional arguments:
  -h, --help            show this help message and exit
  --file FILE, -f FILE  pikefile.py to use. If not provided, look in the current working directory and all its parents
  --list                List tasks
  --validate            Validate tasks

Tasks:
  Things to run

  {do-thing,wrapped-task}
```

Each task also has a `--help`:

```
$ pike -f ./examples/pikefile.py do-thing --help
usage: pike do-thing [-h] thing

Do a thing, and do it perfectly

positional arguments:
  thing       The thing to do

optional arguments:
  -h, --help  show this help message and exit
```

If a default value is provided, it's also shown:

```
$ pike -f ./examples/pikefile.py wrapped-task --help
usage: pike wrapped-task [-h] [--thing THING]

optional arguments:
  -h, --help     show this help message and exit
  --thing THING  (default: Rap)
```

If a type is provided, it should be cast automatically.


