test-utils: add chain-spec-builder cli (#1061)

* test-utils: add chain-spec-builder cli

* style changes, mostly indentation

* fix padding

* add issue to todo

* more style fixes

* share seed padding with keystore

* fix master rebase error
This commit is contained in:
azban
2018-11-12 11:21:03 -08:00
committed by Gav Wood
parent 168de867f5
commit 367c99b2bb
11 changed files with 4116 additions and 56 deletions
@@ -0,0 +1,24 @@
name: chain-spec-builder
author: "azban <me@azban.net>"
about: Utility for creating chain specs primarily for testing
args:
- initial_authority_seed:
short: a
value_name: INITIAL_AUTHORITY_SEED
help: Initial authority seed
takes_value: true
multiple: true
required: true
- endowed_account_seed:
short: e
value_name: ENDOWED_ACCOUNT_SEED
help: Endowed account seed
takes_value: true
multiple: true
required: true
- upgrade_key_seed:
short: u
value_name: UPGRADE_KEY_SEED
help: Upgrade key seed
takes_value: true
required: true