文書の過去の版を表示しています。
コマンドを作るときに引数で分岐することは絶対ある。
command=ARGV.shift case command when 'new' ... when 'list' ...
などするとよい。