TIBCOSoftware / flogo-cli

Project Flogo Command Line Interface
http://flogo.io
BSD 3-Clause "New" or "Revised" License
57 stars 28 forks source link

Better help on the CLI #72

Open mellistibco opened 6 years ago

mellistibco commented 6 years ago

When entering a cmd with an incorrect syntax we should display the correct syntax again. For example the following cmd:

flogo create -f SampleApp2 ~/Downloads/SampleApp.json

Simply yields the following error. The correct syntax should be displayed again after the error.

Error: Error loading app file 'SampleApp2' - open SampleApp2: no such file or directory