Crate catr

Source

Structs§

ArgSwitch
Switches for the command line options. Example: catr -n example.txt will set number to true

Functions§

get_content
Reads file content to a vector of bytes
parse_args
Parses the arguments into file paths and switch arguments
print_all_content
Prints content to the standard output for all files
print_help
Prints the help menu to the console
print_version
Prints the version menu to the console