add vault
Compare changes
Files
7- Hugo Trentesaux authored
+ 51
− 6
Some Ğcli commands require to have an address configured (for example to get account balance), some require to have a secret configured (to sign extrinsics).
Ğcli allows to save what you want in a config file and to overwrite parts in command line arguments. Example:
@@ -13,7 +13,7 @@ gcli config show
@@ -13,7 +13,7 @@ gcli config show
@@ -21,7 +21,52 @@ gcli --address 5Fxune7f71ZbpP2FoY3mhYcmM596Erhv1gRue4nsPwkxMR4n config show
@@ -21,7 +21,52 @@ gcli --address 5Fxune7f71ZbpP2FoY3mhYcmM596Erhv1gRue4nsPwkxMR4n config show
You can see that if a secret is defined, the associated address is used, but if an other address is given, the secret is silenced.
\ No newline at end of file