Implementation and addition of deploy subcommand.