1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-09 12:03:49 -05:00

foundation for a help system where each command holds its own docs

Docs are comprised from "Usage", "Summary" and "Help" sections, where
"Help" can span multiple commented lines. If it is missing, "Summary" is
shown in its place.

References #204, references #206
This commit is contained in:
Mislav Marohnić
2012-12-13 05:48:28 +01:00
parent 7fe9231e64
commit b8715bfee6
6 changed files with 63 additions and 37 deletions

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Usage: rbenv commands [ --sh | --no-sh ]
# Summary: List all rbenv commands
set -e
[ -n "$RBENV_DEBUG" ] && set -x