Concordium / concordium-client

A command line client to interact with the concordium-node
Apache License 2.0
8 stars 6 forks source link

Show the format flag when importing an account #277

Closed MilkywayPirate closed 12 months ago

MilkywayPirate commented 12 months ago

Purpose

Address https://github.com/Concordium/concordium-client/issues/253

By default show the format option when importing an account.

This change will make it easier to import accounts generated as part of genesis creation. Normally this flag is not used by users since they get their account by going through an idp via one of the wallets.

However there will soon be a tool available for running a local chain with a custom genesis. In this scenario it's desirable to make it easy for users to import their generated accounts into the client so the client is easy to use with their new custom chain.

Note also that the default value mobile is the same as before, so the user does not have to explicitly provide this flag if importing a mobile backup.

Changes

Remove the SHOW_ALL_OPTS env variable and by default show all possible options at all times.

Checklist

MilkywayPirate commented 12 months ago

Please link to issue #253

But note that this isn't really solving the issue. Users don't read command line documentation.

Nice. Thanks. I somehow missed that issue.