asmuth / clip

Create charts from the command line
https://clip-lang.org
Apache License 2.0
5.15k stars 387 forks source link

CLI syntax in getting started guide is wrong #271

Open aral opened 3 years ago

aral commented 3 years ago

In the Getting Started guide (https://clip-lang.org/getting-started/), you are shown the following syntax:

clip --in example_chart.clp --out example_chart.svg

In the help (in version 0.8.0) and in practice, the syntax that works is:

clip -e example_chart.svg example_chart.clp
tddschn commented 3 years ago

Not only the example commands are outdated, the CLIPS codes don't seem to work with clip 0.7.0:

$ clip -e example_chart.svg example_chart.clp
ERROR: expected a command list

Same error message for the example code in the README and the guide.