CLI tools

- New sub-crate: plume-cli
- Creates a binary called 'plm'
- Uses clap to parse CLI arguments
- Add a first command: plm instance new (to init the local instance)
This commit is contained in:
Bat
2018-10-06 12:19:48 +01:00
parent b464671cf0
commit 6723432e52
3 changed files with 111 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
[package]
name = "plume-cli"
version = "0.1.0"
authors = ["Bat' <baptiste@gelez.xyz>"]
[[bin]]
name = "plm"
[dependencies]
clap = "2.32"
dotenv = "0.13"
[dependencies.diesel]
features = ["postgres", "r2d2", "chrono"]
version = "*"
[dependencies.plume-models]
path = "../plume-models"