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

Improve CLI for creating orders #3371

Closed
eugenegoncharuk opened this issue May 7, 2021 · 1 comment · Fixed by #3374
Closed

Improve CLI for creating orders #3371

eugenegoncharuk opened this issue May 7, 2021 · 1 comment · Fixed by #3374
Assignees

Comments

@eugenegoncharuk
Copy link
Contributor

eugenegoncharuk commented May 7, 2021

There is one thing he could improve, CLI for creating orders, currently, there is a missing feature to "tab through identities" when inputting one.

For reference point can try using CLI tool and typing in identities get
and you will be suggested your identities
order create (or something like that, don't remember exactly) does not have this
and we have users who top-up via CLI.

Please, ask @tomasmik for help if needed.

@Zensey
Copy link
Contributor

Zensey commented May 11, 2021

If needed
orderID completion can also be supported in the following way:

	readline.PcItem("orders",
		readline.PcItem("create"),
		readline.PcItem("get",
			readline.PcItemDynamic(getIdentityOptionList(tequilapi),
				readline.PcItemDynamic(getOrdersOptionList(tequilapi)),
			),
		),
		readline.PcItem("get-all"),
		readline.PcItem("currencies"),
	),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants