command-line refactoring