Comments (4)
@shivam-tripathi This is a great first start!
- I think having some action flag would be a good idea. I think I'd have --action {pull,push,export} or something along those lines.
- I think p for password is pretty good. What's your concern? You want to use it for pull?
- Agreed that we might want to export other formats, so having an export type would be pretty nice. Please open an issue for this!
- The ability to export a date range is something that's in the CLI but not in the GUI. Can you please open an issue for this too?
from briefcase.
I would like to work on this.
from briefcase.
@shivam-tripathi As a first step, can you please draft up a quick proposal listing what exists in the CLI and what needs to be added from the UI? For each addition, detail the flags you expect to use.
from briefcase.
Presently, there is no specific option to specify if the operation intended is "Export" or any other. Push is one of the basic operation, apart from Pull and Export.
For Pull operation, only a single flag would be needed apart from the ones already present to specify that the operation intended is pulling. Same goes for extraction. Perhaps something like "-pull" and "-e" would serve the purpose.
Another thing to be considered here is the possible change in assigned flags. Does the "p" flag is best assigned to password option?
Also, another thing I noticed is the argument name assigned to flag "f" is "name.csv". In future we might be supporting more options than just csv for export. Maybe we should change the name. ShalI open an issue for this?
In short, the code needs some restructuring - making separate modules for export and pull which would be triggered on presence of some flags signifying the request of the operation.
from briefcase.
Related Issues (20)
- Crash on export when submission is empty HOT 1
- Crash on reloading from Central server not right after configuring it HOT 1
- Crash on attempted cancel of pull from Central server when offline
- Socket closed when pushing 3k+ submissions to Central HOT 3
- Forms with external secondary instances aren't shown on export or push tabs HOT 1
- Crash when pulling forms with spaces in formId from Central
- Pull before export doesn't work for forms from Central
- Pull from Collect directory where a few versions of the same form are available is not possible HOT 1
- On pull from Central, submission attachments are not requested if submission folder exists
- Forms arenβt immediately showing up in push or export after a canceled pull - only with Java 8
- Export is crashing after canceling pull when empty submissions are created - Java 8
- Make documentation link in Central push warning dialog clickable
- Support empty form versions when doing multi-version push to Central
- Form selection is lost and status is missing on Export tab when pull before export process in progress
- Briefcase tabs are disabled when run on java 9 and 10 and select sd on Windows
- Pull/Push/Export tabs are still active when the storage location is cleared HOT 3
- On export, skip encrypted submissions with manifest but no .enc file and mark as failed
- Form selection and individual export configuration in export tab becomes disabled
- Export using CLI ok, but freezes / hangs using GUI (Key too long?)
- Export of encrypted submissions using Briefcase UI fails HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from briefcase.