From 240af672abb052bdd1c210fda0805cfe3da07738 Mon Sep 17 00:00:00 2001 From: nishiki Date: Mon, 16 May 2016 21:53:24 +0200 Subject: [PATCH] update readme --- README.md | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7958e71..a6b4dee 100644 --- a/README.md +++ b/README.md @@ -13,17 +13,44 @@ This program work with ruby >= 2.0 # How to use * Show help +``` mpw --help +``` * Setup a new config file - +``` mpw --setup mpw --setup --config /path/conf/file.cfg +``` * Create and setup a new wallet - +``` mpw --setup-wallet --wallet new_wallet_name mpw --setup-wallet --wallet new_wallet_name --config /path/conf/file.cfg +``` + +* Add a GPG key in wallet +``` +mpw --add --key root@localhost.local +mpw --add --key root@localhost.local --config /path/conf/file.cfg +mpw --add --key root@localhost.local --wallet wallet_name +mpw --add --key root@localhost.local --config /path/conf/file.cfg --wallet wallet_name +``` + +* Add a new GPG key in wallet +``` +mpw --add --key root@localhost.local --file /path/gpg/file.pub +mpw --add --key root@localhost.local --file /path/gpg/file.pub --config /path/conf/file.cfg +mpw --add --key root@localhost.local --file /path/gpg/file.pub --wallet wallet_name +mpw --add --key root@localhost.local --file /path/gpg/file.pub --config /path/conf/file.cfg --wallet wallet_name +``` + +* Delete a GPG key in wallet +``` +mpw --delete --key root@localhost.local +mpw --delete --key root@localhost.local --wallet wallet_name +mpw --delete --key root@localhost.local --wallet wallet_name --config /path/conf/file.cfg +``` * Add a new item in wallet ```