Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve command line interface #9

Open
charlesreid1 opened this issue May 11, 2018 · 2 comments
Open

Improve command line interface #9

charlesreid1 opened this issue May 11, 2018 · 2 comments
Labels
command-line improvements to the taco command line tool

Comments

@charlesreid1
Copy link
Member

Suggestions from Titus:

Have 2 equivalent ways to run things:

A short and sweet command that infers file structure:

% taco workflow1 my-workflow-files

A longer and more explicit command:

% taco workflow1 --config-yaml=-my-workflow-files/config.yaml --params-yaml=my-workflow-files/params.yaml

A third, optimal, but more difficult way is to let the user provide a list of input files:

% taco workflow1 --input-files <list of files>
@charlesreid1
Copy link
Member Author

This is a broader issue than #13 (eliminate redundancy) but that's an important first step

@charlesreid1 charlesreid1 added the command-line improvements to the taco command line tool label May 14, 2018
@charlesreid1
Copy link
Member Author

charlesreid1 commented May 18, 2018

To infer structure,

$ taco workflow1 my-workflow-files

could just glob.glob("my-workflow-files/*conf*") and glob.glob("my-workflow-files/*params*") and assert both have only 1 element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line improvements to the taco command line tool
Projects
None yet
Development

No branches or pull requests

1 participant