Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shelldoc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shelldoc

Google syle shell documentation generator tool

  • 0.0.2
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc