Wallet Interactive-mode, Part 1 (#295)

* cli addition to yml

* first experiments with CLI mode

* rustfmt

* modify owner_single_use to take optional instantiated API

* refactor command functions to take owner api instance

* modify commands to use single owner api instance

* add ability to pass customised message handler to API

* prevent update wallet attempt if wallet hasn't been opened

* fix output when internal updater is running

* add termion, use cli for status updates, remove logging output from CLI

* some attempts to clean up the command prompt and accomodate scanning intervals

* rework listener slightly to allow for cli mode, add close command

* remove termion dependency
This commit is contained in:
Yeastplume
2020-02-06 09:08:24 +00:00
committed by GitHub
parent 0ae921461c
commit 2d264db91a
28 changed files with 929 additions and 314 deletions
+3
View File
@@ -29,6 +29,9 @@ prettytable-rs = "0.7"
log = "0.4"
linefeed = "0.5"
semver = "0.9"
rustyline = "6"
colored = "1.6"
lazy_static = "1"
grin_wallet_api = { path = "./api", version = "3.1.0-beta.1" }
grin_wallet_impls = { path = "./impls", version = "3.1.0-beta.1" }