Feedback about new commands "list" and "last"
Hello Folks, I'll would like to have some feedback about an ongoing modification of the command-line interface of BIT. Please let me know what you think. Can you think of better naming for commands and switches. Maybe something totally different? There are 4 commands I do replace with 2 commands "list" and "last" as follows: - backintime snapshots-list: backintime list - backintime snapshots-list-path: backintime list --path - backintime last-snapshot: backintime last - backintime last-snapshot-path: backintime last --path This is still implemented in an pending PR #2135. I also do have an alternative in mind, which would reduce everything to only one command, with more switches. - backintime snapshots-list: backintime show - backintime snapshots-list-path: backintime show --path - backintime last-snapshot: backintime show --last - backintime last-snapshot-path: backintime show --last --path Regards, Christian Buhtz The Issue: https://github.com/bit-team/backintime/issues/2130 The PR: https://github.com/bit-team/backintime/pull/2135
I prefer the second of the two. If your goal is to reduce command line options, would it perhaps make sense to integrate with the status feature as the information provided is quite similar? So you could have for example: -backintime show (list by default or perhaps as a switch with the default being the help page?) -backintime show --status -backintime show --status --profile-id 1 -backintime show --path -backintime show --path --profile-id 1 -backintime show --last -backintime show --last --path ..etc Could maybe also include benchmark-cipher to incorporate another command while keeping in the theme of showing information?
participants (2)
-
c.buhtz@posteo.jp -
samuelallister@outlook.com