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

Remove --dry-run #11

Closed
tetron opened this issue Oct 29, 2015 · 10 comments
Closed

Remove --dry-run #11

tetron opened this issue Oct 29, 2015 · 10 comments

Comments

@tetron
Copy link
Member

tetron commented Oct 29, 2015

It isn't tested and doesn't work.

@tetron
Copy link
Member Author

tetron commented Oct 29, 2015

@mr-c said ":-( I think --dry-run is important" so let's consider. The option is poor define it's not totally clear what it should do for workflows.

@mr-c
Copy link
Member

mr-c commented Oct 29, 2015

Maybe it should incorporate the functionality of cwl2script? (and be
renamed?)

On Thu, Oct 29, 2015 at 11:30 AM Peter Amstutz notifications@github.com
wrote:

@mr-c https://github.com/mr-c said ":-( I think --dry-run is important"
so let's consider. The option is poor define it's not totally clear what it
should do for workflows.


Reply to this email directly or view it on GitHub
#11 (comment)
.

@manu-chroma
Copy link
Member

I don't see any arg with --dry-run in main.py
Am I looking at the wrong place?

@mr-c
Copy link
Member

mr-c commented Jul 18, 2017

Thanks for checking this @manu-chroma it was removed in https://github.com/common-workflow-language/cwltool/pull/234/files#diff-7e9ba38c5e8dd21caad9558b5d833a79L116
git log -S dry-run --source --all

@mr-c mr-c closed this as completed Jul 18, 2017
@manu-chroma
Copy link
Member

@mr-c thanks for including that command :)

@mr-c
Copy link
Member

mr-c commented Jul 18, 2017

@mr-c
Copy link
Member

mr-c commented Jul 18, 2017

Which took me to https://stackoverflow.com/a/5816177/1585509

@manu-chroma
Copy link
Member

The real command was https://www.google.lt/search?q=git+search+history+for+string :-)

Haha 😄

@fgvieira
Copy link

Dear all,

has this issue been solved? I am not sure what was the initial idea behind --dry-run, but I think it would be nice to have an option that would just print the actual commands without running them. Is this possible?

I searched a bit, but only found other users with the same issue, e.g. https://www.biostars.org/p/268851/

thanks,

@mr-c
Copy link
Member

mr-c commented Aug 13, 2020

@fgvieira Can you share your use case for --dry-run in a new issue? It would be possible to bring back something similar to --dry-run for a single CommandLineTool, but for a Workflow it isn't really possible unless someone made a CWL-to-shell converter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants