llnode icon indicating copy to clipboard operation
llnode copied to clipboard

"v8 version" or "llnode --version"

Open mmarchini opened this issue 6 years ago • 4 comments

Today there's no easy way to get llnode's version, making it harder to report issues with detailed information. We could either have a llnode command v8 version or a command line argument --version reporting llnode's version, maybe showing LLDB's version as well.

mmarchini avatar May 08 '18 14:05 mmarchini

Having an v8 version should be enough, --version of the llnode may just redirect the output to stdout somehow.

joyeecheung avatar May 14 '18 12:05 joyeecheung

Technically we could read package.json in the configuration scripts and compile the version numbers into the plugin...otherwise if we maintain something in the source code we could forget about updating it.

joyeecheung avatar May 14 '18 12:05 joyeecheung

We use bumpversion here at Sthima to easily bump versions in our projects. It is a Python tool though, and I'm not aware of any similar tool for Node.js :(

But I think reading from package.json might be feasible as well.

mmarchini avatar May 14 '18 13:05 mmarchini

I was looking into this and trying to replace the version from package.json file but I am having difficulty to figure out from where, the message "lldb version X.X.X" is being outputted on the console when I run "llnode -v" etc.

ghost avatar Aug 07 '19 15:08 ghost