Replies: 1 comment 1 reply
-
You should already be able to do the following: if (filled($this->argument('post')) {
// do a particular thing if an argument is filled
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What do you think of
$this->argumentFilled('....')
in console commands? as a helper methodUse cases (just a random example):
Beta Was this translation helpful? Give feedback.
All reactions