diff --git a/examples/simple.json b/examples/simple.json new file mode 100644 index 0000000..3a1b2b1 --- /dev/null +++ b/examples/simple.json @@ -0,0 +1,36 @@ +{ + "name": "simple", + "version": "2.0.0", + "description": "A simple CLI with basic commands", + "bin": "simple", + "commands": [ + { + "name": "greet", + "description": "Greet a user", + "options": [ + { + "name": "name", + "short": "n", + "description": "Name to greet", + "type": "string" + }, + { + "name": "formal", + "description": "Use formal greeting", + "type": "boolean" + } + ] + }, + { + "name": "version", + "description": "Show version information", + "options": [ + { + "name": "json", + "description": "Output in JSON format", + "type": "boolean" + } + ] + } + ] +}