Multi-scenarios CLI tool for tutorials, guides or stories.
Project description
howto
Howto is a useful tool to design and play tutorials, guides or even stories in your shell.
Install
pip3 install howto-cli
Usage
usage: howto [-h] [--version] [-v] file
Multi-scenarios CLI tool for tutorials, guides or stories.
positional arguments:
file JSON scenario file path
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
-v, --verbose print debug operation
Creating a scenario
The easiest way of creating your scenario is to get inspired by examples.
Most of prompts are based on the PyInquirer library. Howto adds the JSON-config feature and several addons such as markdown support.
TODOs
-
Make it possible to save howtos to run them without specifying a scenario file path
Let's say you have a
cook-a-cake.json
scenario file. Let's save it.howto --load ./cook-a-cake.json
Now, anywhere on your computer, you can run :
howto cook-a-cake # instead of `howto ./cook-a-cake.json`
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file howto-cli-0.0.5.tar.gz
.
File metadata
- Download URL: howto-cli-0.0.5.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ea96b793a965b230cfbae9dbc11590850271e418a48975369a0ae575bfae11 |
|
MD5 | cac607dd9e6e2d0683cf033d5e96b87a |
|
BLAKE2b-256 | 0ac6b753e54295ccdca2965ef608f72f0bba4dd49596140489f09d0466ecafc1 |
File details
Details for the file howto_cli-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: howto_cli-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f54f4cc645564bb119de90d3ff80ae74081d50c4b592d4284106895d62748c8 |
|
MD5 | 2c269183244af9968a5d64cec3f87361 |
|
BLAKE2b-256 | 5a85ba37ac61f48b1e469b916dac199cd5a2a3533b2f4dca876c43c41facbd31 |