use new-command instead of optimist