def environments_command_parser(parent_parser, **kwargs):
    """sets up the argument parser for the environments command"""
    parser = parent_parser.add_parser('environments', description=
        'List all environments in the control-repository of the currently selected profile.'
        , help='list all environments of the selected profile')
    return parser
