Currently, we can have multiple instances of Leon installed on our computer at different places and versions.
It would be cool if we could see information about these multiple Leon instances.
Describe the solution you'd like
With the new command leon info, we will be able to see all basic information about our installed instances:
The installation path
The mode (classic or docker)
The birth date of the instance
How many times we ran leon start
Version of Leon core (e.g: v1.0.0-beta.5), new attribute in config.json
And probably more information...
Options
--name to see the information of a specific instance
Describe alternatives you've considered
To see where our instances of Leon are installed, we can manually see the file config/config.json but to do that we first need to know where npm installed the CLI globally and it is in a JSON format, we might want to see in a pretty format.
Description
Currently, we can have multiple instances of Leon installed on our computer at different places and versions. It would be cool if we could see information about these multiple Leon instances.
Describe the solution you'd like
With the new command
leon info
, we will be able to see all basic information about our installed instances:classic
ordocker
)leon start
config.json
And probably more information...
Options
--name
to see the information of a specific instanceDescribe alternatives you've considered
To see where our instances of Leon are installed, we can manually see the file
config/config.json
but to do that we first need to know wherenpm
installed the CLI globally and it is in a JSON format, we might want to see in a pretty format.