Command-line tool (initial commit)