Add `commit` subcommand.