From 5a91f913861f59690815b495880b68c640a0f831 Mon Sep 17 00:00:00 2001
From: Brian Muenzenmeyer
Date: Sun, 8 Sep 2024 09:10:40 -0500
Subject: [PATCH] docs: add README help/usage output (#93)
---
README.md | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/README.md b/README.md
index 0c3301d..7b45655 100644
--- a/README.md
+++ b/README.md
@@ -20,3 +20,27 @@
+
+## Usage
+
+Local invocation:
+
+```sh
+$ npx api-docs-tooling --help
+```
+
+```sh
+Usage: api-docs-tooling [options]
+
+CLI tool to generate API documentation of a Node.js project.
+
+Options:
+ -i, --input [patterns...] Specify input file patterns using glob syntax
+ -o, --output Specify the relative or absolute output directory
+ -v, --version Specify the target version of Node.js, semver compliant (default: "v22.6.0")
+ -c, --changelog Specify the path (file: or https://) to the CHANGELOG.md file (default:
+ "https://raw.githubusercontent.com/nodejs/node/HEAD/CHANGELOG.md")
+ -t, --target [mode...] Set the processing target modes (choices: "json-simple", "legacy-html",
+ "legacy-html-all")
+ -h, --help display help for command
+```