curv3d / curv

a language for making art using mathematics
Apache License 2.0
1.14k stars 73 forks source link

curvc: --version support #65

Closed sebastien closed 5 years ago

sebastien commented 5 years ago

curved (web-based curv editor) currently detects the presence and correct version of curv by running curv --version and parsing the output (as well as the status code). However, this does not work with curvc, would it be possible to have a --version command line option that outputs a similar information as the main curv command?

doug-moen commented 5 years ago

Here is my change:

$ ./curvc --version
0.3-317-g571abfc-dirty

Good enough?

sebastien commented 5 years ago

That's perfect, I checked and it works!