Add search subcommand.