I find git_sitrep() to be an immensely useful function. However, it does provide a lot of information at once.
When you're just getting set up, it might be nice to get the status of just one part at a time. I think it could be interesting to provide some filtering options, e.g.:
git_sitrep("global", "git")
── Global git config
• Name: 'Ian Lyttle'
• Email: 'ijlyttle@me.com'
• Global (user-level) gitignore file: '~/.gitignore'
• Vaccinated: TRUE
• Default Git protocol: 'https'
• Default initial branch name: 'main'
Would you consider a PR where:
I find
git_sitrep()to be an immensely useful function. However, it does provide a lot of information at once.When you're just getting set up, it might be nice to get the status of just one part at a time. I think it could be interesting to provide some filtering options, e.g.:
Would you consider a PR where:
the function could look something like:
the output could use
cli::cli_h3()headers?