def METHOD_NAME(self, parser):
    parser.add_argument('resource_ids', nargs='*', type=str)
    parser.add_argument('--days', type=int, dest='days', help='include resources updated in the last X days')
    # Named (optional) arguments
    parser.add_argument(
        '--dryrun',
        action='store_true',  # True for presence, False for absence
        dest='dry_run',  # value is options['dry_run']
        help='run process without saving changes',
    )
    parser.add_argument(
        '--published',
        action='store_true',  # True for presence, False for absence
        dest='published',  # value is options['published']
        help='filter to just published resources',
    )