README.md in rezept-0.3.1 vs README.md in rezept-0.4.0
- old
+ new
@@ -20,11 +20,11 @@
$ gem install rezept
## Usage
-#### General
+### General
```
$ rezept
Commands:
rezept apply # Apply the documents
@@ -40,30 +40,31 @@
[--amazon-docs], [--no-amazon-docs] # Include Amazon owned documents
[--dsl-content], [--no-dsl-content] # Convert JSON contents to DSL
# Default: true
```
-#### apply
+### apply
Apply the documents
```
$ rezept help apply
Usage:
rezept apply
Options:
+ [--prefix=PREFIX] # The prefix of the documents (All documents are targeted by default)
[--dry-run], [--no-dry-run] # Dry run (Only output the difference)
-f, [--file=FILE] # Configuration file
# Default: Docfile
[--color], [--no-color] # Disable colorize
# Default: true
[--amazon-docs], [--no-amazon-docs] # Include Amazon owned documents
[--dsl-content], [--no-dsl-content] # Convert JSON contents to DSL
# Default: true
```
-#### convert
+### convert
Convert the documents to the other format
```
$ rezept help convert
Usage:
@@ -81,11 +82,11 @@
[--amazon-docs], [--no-amazon-docs] # Include Amazon owned documents
[--dsl-content], [--no-dsl-content] # Convert JSON contents to DSL
# Default: true
```
-#### export
+### export
Export the documents
```
$ rezept help export
Usage:
@@ -101,11 +102,11 @@
[--amazon-docs], [--no-amazon-docs] # Include Amazon owned documents
[--dsl-content], [--no-dsl-content] # Convert JSON contents to DSL
# Default: true
```
-#### run_command
+### run_command
Run the commands
```
$ rezept help run_command
Usage:
@@ -131,11 +132,11 @@
```
- If you specify multiple values to `tags` and `parameters`, separate them with commas(`,`).
- When you use the `wait` option, the exit code will be `0` if the commands succeed on the all instances, else it will be `1`.
-#### put_inventory
+### put_inventory
Put the inventory
```
$ rezept help put_inventory
Usage:
@@ -156,11 +157,11 @@
# Default: true
```
## Advanced methods
-#### Script styled commands (__script)
+### Script styled commands (__script)
- Docfile
```
Command "My-RunShellScript" do
@@ -210,11 +211,11 @@
}
]
}
```
-#### Commands from the other script file (__script_file)
+### Commands from the other script file (__script_file)
- Docfile
```
Command "My-RunShellScript" do
@@ -268,10 +269,10 @@
}
]
}
```
-#### Templating
+### Templating
- Docfile
```ruby
template "runShellScriptTemplate" do