README.md in cli-format-0.1.0 vs README.md in cli-format-0.2.0
- old
+ new
@@ -69,9 +69,17 @@
]
]
}
```
+## Thor CLI Options
+
+To expose the format in Thor CLI options, you can use `CliFormat.formats`. Example:
+
+```ruby
+option :format, desc: "Output formats: #{CliFormat.formats.join(', ')}"
+```
+
## Text
If you would like to grab just the text and not it shown, use the `text` method.
```ruby