ergoplatform / ergoplatform/ergo-appkit

Parameterise Usage Help of CliApplication

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
44
Forks
34
PR merge metrics
No merged PRs in 30d

Description

## 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
- [ ] https://github.com/ergoplatform/ergo-dex/issues/7
- [ ] introduce `def launcher: String` method to use in Usage Syntax above.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.