README.md in humidifier-3.2.0 vs README.md in humidifier-3.3.0
- old
+ new
@@ -142,12 +142,14 @@
end
```
## CLI
-`Humidifier` can also be used as a CLI for managing resources through configuration files. To get started, build a ruby script (for example `bin/humidifier`) that executes the `Humidifier::CLI` class, like so:
+`Humidifier` can also be used as a CLI for managing resources through configuration files. For a step-by-step guide, read on, but if you'd like to see a working example, check out the [example directory](example).
+To get started, build a ruby script (for example `humidifier`) that executes the `Humidifier::CLI` class, like so:
+
```ruby
#!/usr/bin/env ruby
require 'humidifier'
Humidifier.configure do |config|
@@ -269,11 +271,11 @@
CloudFormation template parameters can be specified by having a special `parameters.yml` file in your stack directory. This file should contain a YAML-encoded object whose keys are the names of the parameters and whose values are the parameter configuration (using the same underscore paradigm as `humidifier` resources for specifying configuration).
You can pass values to the CLI deploy command after the stack name on the command line as in:
-```sh
-bin/humidifier deploy foobar Param1=Foo Param2=Bar
+```bash
+humidifier deploy foobar Param1=Foo Param2=Bar
```
Those parameters will get passed in as values when the stack is deployed.
### Shortcuts