SystemsGenetics / KINC

Knowledge Independent Network Construction
MIT License
11 stars 4 forks source link

Would be nice if we had a way to see version of kinc #170

Open JohnHadish opened 4 years ago

JohnHadish commented 4 years ago

When the user does the command kinc it would be nice if it had a line at the top that said kinc version XXXX. This would be based off of the branch which it had been installed from. This would help for insuring consistency.

This could also be acheived by adding a version command to the valid command options. Not high priority, just a nice quality of life addition.

Propoesed line addition:

KINC version XXXX

Current output:

usr@usr$ kinc
Help: kinc help <command>

Get help about the specific command <command>.

Valid commands:

     run: Run an analytic in normal mode. MPI is automatically detected. If no
          MPI is detected then the analytic will run in single mode.

chunkrun: Run an analytic in chunk run mode. This mode will execute the
          analytic on a subset of the data and save its results in a temporary
          file.

   merge: Merge all temporary result files from chunkruns into the finished
          output data objects of the analytic run.

    dump: Dump the system or user metadata of a data object to standard output
          as JSON formatted text.

  inject: Inject new user metadata into a data object from a JSON formatted text
          file, overwriting any user metadata the data object currently
          contains.

settings: Access the global persistent settings for this program to either view
          those settings or change them.