Expand description
Miscellaneous convenience functions
These functions make some menial tasks a little easier to do, like getting the executable’s name, or running a command
Structs§
- Command
Output - Data returned by utils::run_command()
Functions§
- alphabetize
- Alphabetizes a vector of strings
- capitalize
- Capitalize the first letter in a string
- get_
execname - Get the name of the executable
- get_
filename - Get the name of the file/directory from a file path
- get_
input - Show a message and get the user’s input from the standard input
- get_
parent - Gets the parent directory from a file path
- run_
command - Run a command and return the output, status code, and whether the command succeeded or not
- spawn_
process - Spawn a detached process