peru icon indicating copy to clipboard operation
peru copied to clipboard

Why `If --file or --sync-dir is set, the other must also be set`?

Open Araxeus opened this issue 2 years ago • 0 comments

  • Why can't I just input --file and then the sync dir will automatically be the parent of the file

  • Why can't I just input --sync-dir and then the file getting logic will be as usual?

If there isn't some particular reason not to change this behavior, it should pretty easy to do here: https://github.com/buildinspace/peru/blob/9dbf098ec12f44a84c50ac9c616f4c107985a468/peru/runtime.py#L70-L79

I'm willing to give it a go myself if I get a go ahead

Araxeus avatar Feb 17 '23 16:02 Araxeus