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

suggestion: let - denote stdout for -o option #169

Closed
dustymabe opened this issue Sep 25, 2016 · 1 comment · Fixed by #172
Closed

suggestion: let - denote stdout for -o option #169

dustymabe opened this issue Sep 25, 2016 · 1 comment · Fixed by #172

Comments

@dustymabe
Copy link
Contributor

specifying - to the -o option creates a file named -. Could we let this actually mean stdout like it does for so many other applications. I know there is a --stdout flag but I think some people will probably not read that far (as I didn't) and go with -o - instead.

$ ../kompose -f docker-compose.yml convert -o -
$ ls -l
total 28
-rw-rw-r--. 1 vagrant vagrant 2832 Sep 25 15:56 -
-rw-rw-r--. 1 vagrant vagrant  538 Sep  6 21:42 docker-compose-bundle.dsb
-rw-rw-r--. 1 vagrant vagrant  132 Sep  6 21:42 docker-compose.yml
-rw-rw-r--. 1 vagrant vagrant 1729 Sep  6 21:42 docker-gitlab.yml
-rw-rw-r--. 1 vagrant vagrant  379 Sep  6 21:42 docker-guestbook.yml
-rw-rw-r--. 1 vagrant vagrant 1486 Sep 25 15:54 docker-voting-bundle.dsb
-rw-rw-r--. 1 vagrant vagrant  485 Sep 25 15:54 docker-voting.yml
$ ../kompose --version
kompose version 0.1.0 (fa46376)
ngtuna added a commit to ngtuna/kompose that referenced this issue Sep 26, 2016
@ngtuna
Copy link
Contributor

ngtuna commented Sep 27, 2016

@dustymabe you got it.

cab105 pushed a commit to cab105/kompose that referenced this issue Oct 27, 2016
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

Successfully merging a pull request may close this issue.

2 participants