Giter Club home page Giter Club logo

Comments (4)

yanokwa avatar yanokwa commented on June 1, 2024 1

@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.

shivam-tripathi avatar shivam-tripathi commented on June 1, 2024

I would like to work on this.

from briefcase.

yanokwa avatar yanokwa commented on June 1, 2024

@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.

shivam-tripathi avatar shivam-tripathi commented on June 1, 2024

table_flags
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.