Best way to specify boolean argparse flags

What is the best way to combine argparse and guild with a boolean flag?

I currently do something like this:

# In python argparse
data.add_argument('--enable_augmentation', dest='enable_augmentation', action='store_true',
                    help="Whether or not apply augmentation on training dataset")


# guild.yml
    default: no
    arg-switch: yes
    type: boolean

Is this the preferred way?

Yes that looks correct!