Basic debug command
User story: I am an everyday user following instructions on how to use Liberty CLI. I want to easily generate a system report, so someone can help me with command line problems.
A new command
liberty debug should report the output of:
# ldh_client version TODO: implement this # Python version import sys sys.version() # Platform import platform platform.platform() # Distribution import distro # https://pypi.org/project/distro/ distro.name(pretty=True) # System path import os os.environ["PATH"].replace(os.environ["HOME"], "~")
...with more diagnostic detail to be added in the future as required.
liberty debug --file=name.txt should write the same output to a named file.