command-line operations