politty 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -148,11 +148,11 @@ Arguments:
148
148
  <name> Name of the person to greet
149
149
 
150
150
  Options:
151
+ -g, --greeting <GREETING> Greeting phrase (default: "Hello")
152
+ -l, --loud Output in uppercase (default: false)
151
153
  -h, --help Show help
152
154
  -H, --help-all Show help with all subcommand options
153
155
  --help-json Show help as JSON
154
- -g, --greeting <GREETING> Greeting phrase (default: "Hello")
155
- -l, --loud Output in uppercase (default: false)
156
156
  ```
157
157
 
158
158
  Every command also accepts `--help-json`, which prints the same information as a single JSON object instead of formatted text — useful for tools that consume a CLI's help programmatically (e.g. generating docs or another UI) rather than parsing `--help`'s output:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "politty",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "A lightweight CLI framework inspired by citty with zod v4 registry integration for type-safe metadata management",
5
5
  "keywords": [
6
6
  "argument-parser",
@@ -67,7 +67,7 @@
67
67
  }
68
68
  },
69
69
  "dependencies": {
70
- "@politty/zod": "^0.4.0"
70
+ "@politty/zod": "^0.4.1"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@types/node": "25.9.8",