Skip to main content

Google syle shell documentation generator tool

Project description

Installation

Just pip install shelldoc

Usage

usage: shelldoc [-h] -f FILES [FILES ...] [-d DEST]

Generate documentation from shell script

optional arguments:
  -h, --help            show this help message and exit
  -f FILES [FILES ...], --files FILES [FILES ...]
                        Files to generate documentation from
  -d DEST, --dest DEST  Directory to generate documentation in. ./docs by default

Specifications

This documentation generation tool is based on Google Shell Style Guide

For example :

#######################################
# Get configuration directory.
# Globals:
#   SOMEDIR
# Arguments:
#   None
# Outputs:
#   Writes location to stdout
# See: 
#   https://stackoverflow.com/questions/59895/getting-the-source-directory-of-a-bash-script-from-within
#   del_thing
#######################################

The following parameters are available :

  • Globals
  • Arguments
  • Outputs
  • Returns
  • See
  • Raises

Also, the TODO are parsed.

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

shelldoc-0.0.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shelldoc-0.0.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file shelldoc-0.0.2.tar.gz.

File metadata

  • Download URL: shelldoc-0.0.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for shelldoc-0.0.2.tar.gz
Algorithm Hash digest
SHA256 95f5cdc84e0633669e4de8f51a988bd0f3bfafb7467a776a9d2e8ffacd9e8875
MD5 6e2d5b6d114b7e1f919f1e54886e8124
BLAKE2b-256 76e2f6163161eccddbd79e2f1fc8c3f424a5cc366f0a1eec1ff55884856d67d9

See more details on using hashes here.

File details

Details for the file shelldoc-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: shelldoc-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for shelldoc-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 365abc6e4423adf4ac38dfbf05296fd177e9d5ce48a9e202273e1efd607f4586
MD5 d25784faef67ff4f4fdac2c112236862
BLAKE2b-256 e002801fe5b6c30730a2796f75fc58e1092dc0d25e8de4e6c5b5f0901974af6b

See more details on using hashes here.

Supported by

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