commercetools / commercetools-docs-kit

Tools and components for developing Documentation websites 🛠
https://docs-kit.commercetools.vercel.app
MIT License
18 stars 5 forks source link

provide a package that dynamically downloads and provides rmf-codegen CLI for RAML #292

Closed nkuehn closed 4 years ago

nkuehn commented 4 years ago

Need:

The rmf-codegen CLI JAR is available on Bintray https://bintray.com/vrapio/vrapio/rmf-codegen/1.0.0-20200206130325#files/io%2Fvrap%2Frmf%2Fcodegen%2Fcli-application%2F1.0.0-20200206130325 , the version needs to be updated manually.

There's an issue asking for a URL providing the latest stable version of the RMF-Codegen: https://github.com/vrapio/rmf-codegen/issues/137

jenschude commented 4 years ago

The FAT jar get's published since version 1.0.0-20200220153930 to https://dl.bintray.com/vrapio/vrapio/io/vrap/rmf/codegen/cli-application/

davifantasia commented 4 years ago

Just for my use:

https://dl.bintray.com/vrapio/vrapio/io/vrap/rmf/codegen/cli-application/1.0.0-20200221085820/

jenschude commented 4 years ago

From Slack:

Achraf Beniasaad

12:16 by the way i just released an installable cli for vrap, you can find it at https://github.com/vrapio/rmf-codegen#install-vrap-cli (edited) 12:17 basically to install it its enough to execute

export VRAP_VERSION=1.0.0-20200225111016
curl -o- -s https://raw.githubusercontent.com/vrapio/rmf-codegen/master/scripts/install.sh | bash

12:17 once done you can check that the command is installed by executing rmf-codegen -v

davifantasia commented 4 years ago

From Slack:

Achraf Beniasaad

12:16 by the way i just released an installable cli for vrap, you can find it at https://github.com/vrapio/rmf-codegen#install-vrap-cli (edited) 12:17 basically to install it its enough to execute

export VRAP_VERSION=1.0.0-20200225111016
curl -o- -s https://raw.githubusercontent.com/vrapio/rmf-codegen/master/scripts/install.sh | bash

12:17 once done you can check that the command is installed by executing rmf-codegen -v

Is it possible to have it as an NPM module? This would be the best solution for us - we're currently working on an NPM module that preloads the jar file before running it.

I hope that makes sense.

nkuehn commented 4 years ago

@wale it#s our job to provide an NPM module that automatically downloads the latest vrapio on installation. it does not really make sense to publish NPM modules from a Java project.