README.md in lbrt-0.1.1 vs README.md in lbrt-0.1.3
- old
+ new
@@ -23,10 +23,11 @@
```sh
$ lbrt
Commands:
lbrt alert SUBCOMMAND # Manage alerts
lbrt help [COMMAND] # Describe available commands or one specific command
+ lbrt metric SUBCOMMAND # Manage metrics
lbrt service SUBCOMMAND # Manage services
lbrt space SUBCOMMAND # Manage spaces
Options:
[--user=USER]
@@ -34,34 +35,51 @@
[--token=TOKEN]
# Default: ENV['LIBRATO_TOKEN]
[--color], [--no-color]
# Default: true
[--debug], [--no-debug]
+```
+```sh
$ lbrt help alert
Commands:
lbrt alert apply FILE # Apply alerts
lbrt alert export [FILE] # Export alerts
lbrt alert help [COMMAND] # Describe subcommands or one specific subcommand
Options:
[--target=TARGET]
+```
+```sh
+$ brt help metric
+Commands:
+ lbrt metric help [COMMAND] # Describe subcommands or one specific subcommand
+ lbrt metric peco REGRXP # Show alert by peco
+
+Options:
+ [--target=TARGET]
+```
+
+```sh
$ lbrt help service
Commands:
lbrt service apply FILE # Apply services
lbrt service export [FILE] # Export services
lbrt service help [COMMAND] # Describe subcommands or one specific subcommand
Options:
[--target=TARGET]
+```
+```sh
$ lbrt help space
Commands:
lbrt space apply FILE # Apply spaces
lbrt space export [FILE] # Export spaces
lbrt space help [COMMAND] # Describe subcommands or one specific subcommand
+ lbrt space peco # Show space by peco
Options:
[--target=TARGET]
[--export-concurrency=N]
# Default: 32
@@ -206,8 +224,20 @@
end
end
end
space "my-host-001" do
- include_template("dstat")
+ include_template "dstat"
end
```
+
+## Show metric/space by [peco](https://github.com/peco/peco)
+
+```sh
+lbrt metric peco
+```
+
+```sh
+lbrt space peco
+```
+
+![](https://raw.githubusercontent.com/winebarrel/lbrt/master/etc/peco.gif)