Skip to content
Discussion options

You must be logged in to vote

This library is open source and you can figure what are you doing wrong by yourself:

protected function validOptions()
{
if (! $this->option('setup') && ! $this->option('remove') && ! $this->option('info')) {
return 'No task specified!';
}
if ($this->option('setup') && $this->option('remove')) {
return 'You should not use --setup and --remove options in one command!';
}
return true;
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JekaSylar
Comment options

@punyflash
Comment options

Answer selected by punyflash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants