Closed lognaturel closed 6 years ago
Maybe -psha for push and -plla for pull?
Good suggestions, @jpknox. The existing "short forms" aren't that short so those would fit in.
@ggalmazor @yanokwa?
Just realized that we could also make a compound command with -pull -a
and -push -a
.
-a
would server to indicate that we want to make an operation against an Aggregate server. It could also be -agg
, etc.Then we could have other -odk
or -sd
flag to tell Briefcase to go to an sd card folder, etc.
I think we can keep -pa
for backwards compatibility (but warn about deprecation) and introduce -psha
and -plla
when we add push from the CLI. It doesn't really make sense for Briefcase to push to an SD card for Collect, but pshc
would work nicely there.
We need to do a refactor of pull first, then push, then we can add CLI support. Does that plan sound reasonable, @ggalmazor? Do you want to keep this issue open until then or should we close it?
OK, sounds good.
If you want these changes on different PRs, we can add a checklist on the main comment to track progress.
I'm closing in favor of https://github.com/opendatakit/briefcase/issues/20. We can track our progress bringing the CLI in line with the GUI there.
It's currently -pa but we'll eventually want to be able to push to Aggregate from CLI as well. How do we differentiate between the two since they both start with p?