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

Return exit code from SHOW command #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wernerdweight
Copy link

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