Skip to main content

Multi-scenarios CLI tool for tutorials, guides or stories.

Project description

howto

Travis build PyPI version License: MIT Python Coding Style : Black

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

howto-cli-0.0.4.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

howto_cli-0.0.4-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file howto-cli-0.0.4.tar.gz.

File metadata

  • Download URL: howto-cli-0.0.4.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

Hashes for howto-cli-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3d9ae1bc505dd84b19acc66058bd1f1e2372b4b99143f7472f9b4bef7ca0cee4
MD5 a7cdce97250ea5f30e0ef89465580d08
BLAKE2b-256 1e5c6b501e9438d1e8d2794fb320a1e32fc8772d366649d96092e54beb0f5ac6

See more details on using hashes here.

File details

Details for the file howto_cli-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: howto_cli-0.0.4-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

Hashes for howto_cli-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 383d802d31b79675d0de9c88774494c8f7b09818d814d4d6f55dafd9b707dbc1
MD5 0490d102e2a39c9cc8e6044f73c47890
BLAKE2b-256 2d9c040e1a2f596257bfde445760ff0a2e19a6edb216a7690300c66821892ce1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page