import click


def command_option(func):
    """Add a command option."""
    return click.option('-c', '--command', metavar='COMMAND',
                        help='Command to run remotely after operation is complete.')(func)