@bashhub.command()
@click.argument('command', type=str)
@click.argument('path', type=click.Path(exists=True))
@click.argument('pid', type=long)
@click.argument('process_start_time', type=long)
@click.argument('exit_status', type=int)
def save(command, path, pid, process_start_time, exit_status):
    """Save a command to bashhub.com"""
    pid_start_time = unix_time_to_epoc_millis(process_start_time)
    command = command.strip()

    # Check if we should ignore this command.
    if command in "#ignore":
        return

    # Check if we should filter this command.
    bh_filter = bashhub_globals.BH_FILTER
    if bh_filter and re.findall(bh_filter, command):
        return

    # Check that we have an auth token.
    if bashhub_globals.BH_AUTH() == "":
        print("No auth token found. Run 'bashhub setup' to login.")
        return

    command = CommandForm(command, path, exit_status, pid, pid_start_time)
    rest_client.save_command(command)
dataset/ETHPy150Open rcaloras/bashhub-client/bashhub/bashhub.py/save/swapped operands of `in`