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.5.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for howto-cli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 40ea96b793a965b230cfbae9dbc11590850271e418a48975369a0ae575bfae11
MD5 cac607dd9e6e2d0683cf033d5e96b87a
BLAKE2b-256 0ac6b753e54295ccdca2965ef608f72f0bba4dd49596140489f09d0466ecafc1

See more details on using hashes here.

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

Hashes for howto_cli-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1f54f4cc645564bb119de90d3ff80ae74081d50c4b592d4284106895d62748c8
MD5 2c269183244af9968a5d64cec3f87361
BLAKE2b-256 5a85ba37ac61f48b1e469b916dac199cd5a2a3533b2f4dca876c43c41facbd31

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