create environment subcommand