Add formatting options to the 'show' and 'user ls' commands by vincetiu8 · Pull Request #410 · git-bug/git-bug
added 2 commits
June 21, 2020 13:51This adds options to specify an output format for the commands in question. Supported formats are currently: - 'plain': plaintext, stripped of all colors - 'json': prints output as a json object
This fixes some bugs experienced when using the new formatting options: - org-mode indents not working properly - print statements missing contents
…formats This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters