@ploiu/arg-helper@1.1.0
latest
ploiu/arg-helpervalidates simple arguments passed to your Deno script and generates help text if users use it incorrectly
Validates your arguments and generates formatted help text for your simple scripts.
This is not meant for entire CLIs where each argument is like its own entire program. Rather, this is for simple scripts that you could hack together in 30 minutes but don't want to spend time creating, formatting, and tweaking help text; or manually validating those arguments.
see validateArgs and buildHelpText to get started with examples
Add Package
deno add jsr:@ploiu/arg-helper
Import symbol
import * as arg_helper from "@ploiu/arg-helper";
Import directly with a jsr specifier
import * as arg_helper from "jsr:@ploiu/arg-helper";