Git Product home page Git Product logo

Comments (8)

ardunn avatar ardunn commented on July 19, 2024

please close if not useful or wrong place

from beep.

patrickherring-TRI avatar patrickherring-TRI commented on July 19, 2024

Totally agree, it would be nice to clean up the cli interface. Thanks for the suggestion!
The json format is a hold-over from our previous event based workflow so I think it's probably time to update them.
@moorepatrick Now that we are using Argo for workflow management would it be hard to change the commands for the container so that more cli compatible commands are used?

from beep.

patrickherring-TRI avatar patrickherring-TRI commented on July 19, 2024

@ardunn Click sounds like a pretty good option. We have used docopt in the past, but that tends to be a little clunky and click seems to have a simple interface that does not clutter up the code (or documentation).

from beep.

moorepatrick avatar moorepatrick commented on July 19, 2024

The workflows should not be impacted by this too much. They have actually mostly moved away from any lists in the input so having arguments instead would make things look a lot cleaner.

One thing to consider before we go too far down the path of a single CLI tool is how we plan to allow custom processing tasks.

from beep.

ardunn avatar ardunn commented on July 19, 2024

@moorepatrick are there clear custom processing cases where a single CLI tool would not work? It may help to enumerate some now so if we transfer over to Click we can write the code with those in mind.

from beep.

moorepatrick avatar moorepatrick commented on July 19, 2024

@ardunn We have not identified any specific use cases yet, but it probably deserves a full discussion.

from beep.

ardunn avatar ardunn commented on July 19, 2024

from #120

Problem

Not sure if this is an actual problem, since users of beep may just have one set of files they are working with, but when you are working with multiple input files, keeping track of what is going on with each file with the CLI + data-share directory is complicated...

Solution

Simply input and output files in the working directory according to whatever names the user wants (or sensible defaults in the cwd if no args passed), should be possible wth #107

from beep.

ardunn avatar ardunn commented on July 19, 2024

https://docs.google.com/document/d/17MdS8JfxcFBeJg6OjmWviCjqGsMs7uYXHP1KObNaCsA/edit?usp=sharing

from beep.

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.