vitiral / artifact

The open source design documentation tool for everybody
http://vitiral.github.io/artifact/docs/index.html
Other
559 stars 38 forks source link

improve "export" command help error message #197

Closed crackcomm closed 5 years ago

crackcomm commented 6 years ago

During art export

(warns...)
Encountered Error:

unknown type:

Windows OS, I will investigate later.

vitiral commented 6 years ago

windows OS is not well tested, however art export requires a type to export, i.e. art export html (html is the only supported one ATM if I recall correctly)

vitiral commented 6 years ago

the error message should be improved though.

crackcomm commented 6 years ago

It works great when used properly 👍

I'd suggest to use a html default (as a flag?).

vitiral commented 6 years ago

I prefer being explicit. Maybe in 5 years if html is really the only major export format we can make it the default...

crackcomm commented 6 years ago

You are right.

vitiral commented 5 years ago

export changed slightly. This is now fixed:

$ art export
error: The following required arguments were not provided:
    <TYPE>
    <PATH>

USAGE:
    art export <TYPE> <PATH> --verbose <verbosity>

For more information try --help