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

Condense output when multiple tags are created #304

Open
aguschin opened this issue Nov 29, 2022 · 0 comments
Open

Condense output when multiple tags are created #304

aguschin opened this issue Nov 29, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@aguschin
Copy link
Contributor

If assign created a version, you'll get this long output:

$ gto assign classifier \
		--repo $REPO \
		--version v0.0.2
		--stage dev 
Created git tag 'classifier@v0.0.2' that registers version
Running `git push origin classifier@v0.0.2`
Successfully pushed git tag classifier@v0.0.2 on remote.
Created git tag 'classifier#dev#1' that assigns stage
Running `git push origin classifier#dev#1`
Successfully pushed git tag classifier#dev#1 on remote.

Would be more friendly to get something like:

$ gto assign classifier \
		--repo $REPO \
		--version v0.0.2
		--stage dev 
Created git tag 'classifier@v0.0.2' that registers version
Created git tag 'classifier#dev#1' that assigns stage
Running `git push origin classifier@v0.0.2 classifier#dev#1`
Successfully pushed git tags on remote.
@aguschin aguschin added the enhancement New feature or request label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant