Closed
Description
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:
-
the function could look something like:
git_sitrep <- function(scope = c("global", "project"), tool = c("git", "github")) { scope <- rlang::arg_match(scope, multiple = TRUE) tool <- rlang::arg_match(tool, multiple = TRUE) # rest of the owl }
-
the output could use
cli::cli_h3()
headers?
Metadata
Metadata
Assignees
Labels
No labels