basic command-line functionality