Skip to content

Repository files navigation

Contributors Forks Stars Issues License

Prohelp: Progressive CLI Help

Progressive & Professional Help CLI Interceptor and Library.
Explore the docs

Report Bug · Request Feature

About The Project

The standard command-line help interface (--help or help) is broken. It dumps massive walls of unreadable text — and shell help refuses to cover PATH binaries.

Prohelp is a progressive help specification and reference library: a professional-grade, budget-enforced terminal documentation system with Unicode box panels, locale-aware rendering, and an optional full-screen TUI. It also installs a shell help function (bash/zsh/fish/nu/pwsh — not cmd) that keeps builtin help for builtins and routes PATH topics through prohelp/man/info.

Prohelp is not a full command-line application framework. It solves progressive help only. For building CLI tools, use a framework and wire Prohelp in.

(back to top)

Installation

Build

dub build -c executable

(back to top)

Usage

CLI usage

prohelp
prohelp ?
prohelp ?:i

Preview mode (schema interpreter)

prohelp examples/tar.sdl ?
prohelp examples/tar.sdl ? operations
prohelp -f myapp/help.sdl ?:de,i
prohelp wrapper install          # bash/zsh/fish/nu/pwsh — not cmd
prohelp wrapper status
# reload shell, then:
help tar

Drop-in intercept (library)

import prohelp.intercept;

void main(string[] args) {
    if (prohelp.intercept(args)) return;
    // Your CLI framework or hand-rolled parser continues here...
}

(back to top)

Key Features

  • Default Static Box Zoning: Generates gorgeous, Unicode-boxed information panels compatible with pipes, redirects, and log files.

  • Opt-in TUI Viewport: Full-screen terminal browser with filter search and keyboard navigation.

  • 1-Line Integration API: Drop into standard application main entries with a single line of code.

  • Hierarchical Globbing (*): Subtree glob extraction for targeted documentation chunks.

  • Multilingual Localization: Native OS locale auto-detection with explicit overrides.

  • Sliding-scale Line Budgets: Enforces strict screen boundaries during development.

See Changelog.

About

Progressive & Professional Help CLI Interceptor and Library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages