Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stars Issues

Prohelp CLI bridges

CLI framework bridges for Prohelp (arsd.cli and related routers).
Report Bug · Request Feature

About The Project

prohelp-cli connects Prohelp (progressive help) to command-line application frameworks (parsing, routing, subcommands).

  • prohelp — help engine, specification, preview tool, global help binary, C-oriented library core

  • prohelp-cli — bridges that wire Prohelp into D CLI routers (and future adapters)

This package is a library. Your app is the binary. CI builds a small prohelp-cli-demo executable for regression testing.

(back to top)

Installation

dub build -c demo

(back to top)

Usage

Quick start (D + arsd.cli)

import arsd.cli;
import prohelp.intercept;

class App {
    void create(string[] files) { /* ... */ }
}

int main(string[] args) {
    if (prohelp.intercept(args)) return 0;
    return runCli!App(args);
}

Demo binary

dub build -c demo
./prohelp-cli-demo ?

When to use what

| Goal | Use | Not | Progressive help only, C/BetterC | prohelp library | prohelp-cli | New D CLI with subcommands | prohelp-cli + arsd.cli + prohelp | Raw intercept only | Author/preview help.sdl | prohelp executable from prohelp repo | — | Global help <command> on PATH | help binary from prohelp | — | Python/Rust/Go CLI | Prohelp via FFI + your framework | prohelp-cli (D-only bridges)

(back to top)

Dependencies

About

CLI framework bridges for Prohelp (arsd.cli and related routers)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages