Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] adex-cli #1682

Open
3 tasks
ca333 opened this issue Feb 26, 2023 · 3 comments
Open
3 tasks

[feature request] adex-cli #1682

ca333 opened this issue Feb 26, 2023 · 3 comments
Assignees
Labels
adex-cli enhancement New feature or request good first issue Good for newcomers Good test task

Comments

@ca333
Copy link

ca333 commented Feb 26, 2023

could use a mm2-cli with intuitive user interface, full adex functionality coverage and noob-proof mm2 initialisation / "process-manager". e.g. ./adex-cli start (should do all the magic and only ask whats absolutely required & inform user ref storage location of encrypted seed-file, ...), ./adex-cli getbalance KMD , ./adex-cli send RHJ9Ym1dJcS2uTj3jfmLkg43JcZMhQqpLi 3.33 KMD, ./adex-cli stop, et cetera

Roadmap:

  • [v0.1.0] basic adex req-rep client
  • [v0.1.1] adex-cli mm2 process init & manager
  • [v0.2.0] command line GUI ("QA mm2 debug tool")

v0.3.0 TBA

@ca333 ca333 added enhancement New feature or request good first issue Good for newcomers Good test task labels Feb 26, 2023
@ca333 ca333 self-assigned this Feb 26, 2023
@borngraced
Copy link
Member

Good idea,
I have a note, adex-cli start should just be adex no need to explicitly include cli making the commands simpler to use e.g adex start, adex getbalance KMD @ca333

@rozhkovdmitrii
Copy link

Guys, @ca333, @borngraced, just to let you know.

I have the following plan for the version 0.1.0. I would predefine four scenarios:

  1. init-mm-cfg
  2. init-coins
  3. start
  4. stop

init-mm-cfg

To create a new or rewrite an existent mm configuration at first. It's important to note I would let QA engineer to fill configuration using questionnaire with predefined default values.

Initialize mm2 configuration in the questionnaire mode

Usage: adex init-mm2-cfg [OPTIONS]

Options:
      --cfg-file <CFG_FILE>  file path to save mm2 configuration [default: MM2.json]
  -h, --help                 Print help

init-coins

To set up on of predefined set: empty, rick-morty, full. Selected set will be downloaded or just created.

Initialize predefined mm2 coin set

Usage: adex init-coins --coin-set <COIN_SET>

Options:
      --coin-set <COIN_SET>  to select out of predefined sets [possible values: empty, rick-morty, full]
  -h, --help                 Print help

start

Start mm with a default or custom configuration

stop

Stop mm as a service and/or using stop request )


That is it for the version 0.1.0, further I will grow commands with the available set (get-balance, send etc.)

@ca333
Copy link
Author

ca333 commented Mar 16, 2023

Guys, @ca333, @borngraced, just to let you know.

I have the following plan for the version 0.1.0. I would predefine four scenarios:

  1. init-mm-cfg
  2. init-coins
  3. start
  4. stop

init-mm-cfg

To create a new or rewrite an existent mm configuration at first. It's important to note I would let QA engineer to fill configuration using questionnaire with predefined default values.

Initialize mm2 configuration in the questionnaire mode

Usage: adex init-mm2-cfg [OPTIONS]

Options:
      --cfg-file <CFG_FILE>  file path to save mm2 configuration [default: MM2.json]
  -h, --help                 Print help

init-coins

To set up on of predefined set: empty, rick-morty, full. Selected set will be downloaded or just created.

Initialize predefined mm2 coin set

Usage: adex init-coins --coin-set <COIN_SET>

Options:
      --coin-set <COIN_SET>  to select out of predefined sets [possible values: empty, rick-morty, full]
  -h, --help                 Print help

start

Start mm with a default or custom configuration

stop

Stop mm as a service and/or using stop request )

That is it for the version 0.1.0, further I will grow commands with the available set (get-balance, send etc.)

sounds good - from a UX perspective we could probably even combine 1. and 2. for sake of simplicity into a general init.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adex-cli enhancement New feature or request good first issue Good for newcomers Good test task
Projects
None yet
Development

No branches or pull requests

3 participants