Skip to content
This repository was archived by the owner on Nov 15, 2020. It is now read-only.

Return exit code from SHOW command#10

Open
wernerdweight wants to merge 1 commit intonella:masterfrom
wernerdweight:feature/show-command-return-value
Open

Return exit code from SHOW command#10
wernerdweight wants to merge 1 commit intonella:masterfrom
wernerdweight:feature/show-command-return-value

Conversation

@wernerdweight
Copy link
Copy Markdown

This PR fixes #7

Executing the show command (e.g. composer victor show) will now also return exit code (0 on success - i.e. all packages are up-to-date, 1 otherwise - i.e. some packages are outdated). This helps using victor in CI scripts.

Output with exit code 1:
image

Output with exit code 0 (no change):
image

Thank you!

@wernerdweight wernerdweight force-pushed the feature/show-command-return-value branch from 38191af to 363581e Compare November 28, 2018 13:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return values for show command

1 participant