TIBCOSoftware / flogo-cli

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

Add > flogo version command #61

Closed torresashjian closed 6 years ago

torresashjian commented 7 years ago

We need a command that will tell us what version of the cli is currently run.

This will help us with issues and debug problems to make sure people are running the correct version.

rkozhikk commented 6 years ago

Address in 0.5.x - @mellistibco ? It's super useful for debugging potential regressions and in general, keeping one's sanity :)

mellistibco commented 6 years ago

👍 Agree. Will address in 0.5.1. It would also be useful to specify (when in an app dir) what versions of contrib, lib, etc are being used for the app

retgits commented 6 years ago

Closing this issue as we have a version command:

flogo version
flogo cli version [v0.5.3-16-g80636ce]
Your project uses github.com/TIBCOSoftware/flogo-contrib branch master and revision 9e427339d6eea222f9db2e0e9614d9749e88295d
Your project uses github.com/TIBCOSoftware/flogo-lib version v0.5.4

Running an app with FLOGO_LOG_LEVEL=DEBUG will also tell you what the versions of the activities and triggers are:

2018-05-31 16:34:57.657 DEBUG  [flogo] - Registering activity [ github.com/retgits/flogo-components/activity/queryparser ] which has version [ 0.1.0 ]
2018-05-31 16:34:57.658 DEBUG  [flogo] - Registering activity [ github.com/TIBCOSoftware/flogo-contrib/activity/log ] which has version [ 0.0.1 ]
2018-05-31 16:34:57.658 DEBUG  [flogo] - Registering activity [ github.com/TIBCOSoftware/flogo-contrib/activity/actreturn ] which has version [ 0.0.1 ]