raml-leanlabsio / raml2html

raml2html documentation generator
http://raml2html.leanlabs.io
MIT License
32 stars 9 forks source link

Command "api.raml" is not defined. #1

Closed ddossot closed 9 years ago

ddossot commented 9 years ago

When I run: raml2html.phar -i api.raml -o /tmp/api.html

I receive:

                     
  [InvalidArgumentException]          
  Command "api.raml" is not defined.  

although the api.raml file exists...

cnam commented 9 years ago

Hello, @ddossot

Your need execute command raml2html.phar generate -i api.raml -o /tmp/api.html

ddossot commented 9 years ago

Oh boy.

Sorry.

ddossot commented 9 years ago

I thought I was using the other HTML generator (ie raml2html -i api.raml -o /tmp/api.html, no command needed like generate)... tool confusion :sob: