Skip to content

Export command destination parameter not used without its -d flag #186

@gbolmier

Description

@gbolmier

/kind bug

What happened:

The export command isn't using the destination parameter when the --destination flag isn't specified.

How to reproduce it (as minimally and precisely as possible):

ormb export <ref> <dst>

With <dst> different than ., which is the default.

Anything else we need to know?:

I'm using the python sdk which makes it quite complicated to work around the bug. I guess it'll be better to fix the root cause of the problem, but if it takes time I can submit a quick fix in the python sdk by adding the -d flag to the export wrapper function:

def export(ref: str, dst: str):
ex = Popen([join(BIN_PATH, "ormb"), "export", ref, dst])
status = ex.wait()
return status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions