git_helper¶
-
git_helper.get_commandline_output(command_list)[source]¶ Takes a command line entry separated into list entries, and returns the output from the command line as a string
Parameters: command_list (list of strings) – list of strings that when combined form a coherent command to input into the command line Returns: output – the output result of running the command Return type: string
-
git_helper.get_gitdict()[source]¶ Get the git dictionary that was created by setup.py and/or during pip install and was stored in a json file
Returns: git_dict – A dictionary containing git information with keywords: describe, date, branch Return type: dictionary
-
git_helper.make_gitdict()[source]¶ Makes a dictionary containing key git information about the repo by running specific commands on the command line
Returns: git_dict – A dictionary containing git information with keywords: describe, date, branch Return type: dictionary