An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.1% on proxy.golang.org

proxy.golang.org : github.com/xo/ox

Package ox is a minimal dependency Go (and TinyGo compatible) command-line flag and argument parsing library. Example is a quick example demonstrating the xo/ox package. Example_argsTest provides an example for testing arbitrary command-line invocations by setting the arguments to Parse with ox.Args. Example_help shows help output. Example_psql demonstrates building complex help output, based on original output of `psql --help`. The output formatting has been slightly changed, as the generated help output alters the column formatting, and the output cannot be duplicated perfectly -- that said, a faithful attempt has been made to stick to the original help output wherever possible. Example_sections demonstrates setting the help section for commands and flags, including default `--help` flag and `help` command.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/xo/ox
License: MIT
Latest release: about 1 month ago
Namespace: github.com/xo
Stars: 31 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago