jgo icon indicating copy to clipboard operation
jgo copied to clipboard

Narrow allowed shortcut format

Open hanslovsky opened this issue 6 years ago • 0 comments

The endpoint format is very well defined in README.md/the usage message.

The endpoint should have one of the following formats:

- groupId:artifactId
- groupId:artifactId:version
- groupId:artifactId:mainClass
- groupId:artifactId:version:mainClass
- groupId:artifactId:version:classifier:mainClass

AFAIK no such format restriction exists for shortcuts. To keep things sane, we should probably restrict the shortcut format to something like [A-Za-z0-9-_]+.

hanslovsky avatar Aug 20 '19 18:08 hanslovsky