def _add_common_arguments()

in migration/bring-your-own-role/byor.py [0:0]


def _add_common_arguments(parser):
    parser.add_argument('--domain-id',
                    help='Your Project\'s Domain Id', 
                    required=True)
    parser.add_argument('--project-id',
                        help='Project ID you want to update',
                        required=True)
    parser.add_argument('--bring-in-role-arn',
                        help='Arn of IAM Role you want to update or use as reference',
                        required=True)
    parser.add_argument('--execute',
                        help='Determine if the script should generate overview or do the actual work',
                        action='store_true',
                        default=False)
    parser.add_argument('--region',
                        help='The AWS region. If not specified, the default region from your AWS credentials will be used',
                        required=False)
    parser.add_argument('--endpoint',
                        help='Endpoint where you have your Project',
                        required=False)