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

Parameterise Usage Help of CliApplication #43

Open
3 tasks
aslesarenko opened this issue Mar 19, 2020 · 0 comments
Open
3 tasks

Parameterise Usage Help of CliApplication #43

aslesarenko opened this issue Mar 19, 2020 · 0 comments

Comments

@aslesarenko
Copy link
Member

aslesarenko commented Mar 19, 2020

Problem

Currently the following places are hard coded:

val BaseDocUrl = "https://ergoplatform.github.io/ergo-tool/api"
Usage Syntax:\tergo-tool $name ${cmdParamSyntax}

Thus:

  • api url shown by HelpCmd command is incorrect for dex commands
  • usage syntax have incorrect name of executable

Solution

  • transform BaseDocUrl into abstract method def baseDocUrl: String in CmdDescriptor
  • Implement baseDocUrl ergo-dex#7
  • introduce def launcher: String method to use in Usage Syntax above.
@aslesarenko aslesarenko changed the title Make BaseDocUrl abstract method (def baseDocUrl) Parameterise Usage Help of CliApplication Mar 20, 2020
@greenhat greenhat removed their assignment Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants