README.md in sconb-0.0.6 vs README.md in sconb-0.0.7
- old
+ new
@@ -1,6 +1,6 @@
-# Sconb
+# Sconb [![Gem Version](https://badge.fury.io/rb/sconb.svg)](http://badge.fury.io/rb/sconb) [![Build Status](https://travis-ci.org/k1LoW/sconb.svg?branch=master)](https://travis-ci.org/k1LoW/sconb) [![Coverage Status](https://coveralls.io/repos/k1LoW/sconb/badge.png)](https://coveralls.io/r/k1LoW/sconb) [![Dependency Status](https://gemnasium.com/k1LoW/sconb.svg)](https://gemnasium.com/k1LoW/sconb)
Ssh CONfig Buckup tool.
## Installation
@@ -34,20 +34,26 @@
$ sconb keyregen < ssh_config.json
## Advanced Tips
-### Select host
+in like [.ssh/config](spec/config_test_multi)
+### Filter host
+
Dump github.com config only.
- $ sconb dump | jq '{"github.com"}' > github.json
+ $ sconb dump github.com > github.json
And append github.com config to .ssh/config
$ sconb restore < github.json >> ~/.ssh/config
-### Merge config
+Dump github.com and gist configs.
+
+ $ sconb dump gis?t > github_gist.json
+
+### Merge config with jq
$ jq -s '.[0] + .[1]' a.json b.json | sconb restore > ~/.ssh/config
## Contributing