symfony-console


Getting symfony console arguments after double dash


I'm trying to build sophisticated command:
bin/console remote:exec [stage] [revision] -- arguments...
stage and revision arguments are optional (they are derived from current git revision, if omitted), while arguments is a variable length array of words that form command to be executed on remote host - and it gets tricky to find out if first argument is stage, revision, or part of arguments. Is it possible to get all Symfony command arguments that were specified after double dash, so i could segregate arguments?

Related Links

Getting symfony console arguments after double dash
Can I use Symfony new to create a console-only project?

Categories

HOME
facebook-oauth
api
c++11
ggplot2
forms
formal-languages
twig
mjml
numbers
shiro
javacc
newrelic
static-site
zip
x264
crystal-reports-2013
trac
lanczos
rcloud
accessibility
fosrestbundle
fhir
gkturnbasedmatch
android-intent
docx
linear-algebra
searchview
forgot-password
imessage
mapstruct
solrcloud
ember-cli
ios10.2
parcelable
imageresizer
php-mysqlidb
scriptella
tiki-wiki
moses
android-sharedpreferences
angularjs-components
amazon-quicksight
paragraph
angularjs-material
hibernate-validator
fstream
papaparse
hreflang
sendbird
carriage-return
jwplayer6
git-rewrite-history
release
verifiable-c
news
tasm
trigonometry
levenshtein-distance
dcmtk
subclipse
memory-mapping
snapchat
linter
custom-font
pocketsphinx-android
grails-plugin
tinkerpop3
nikeplus-api
jodd
synonym
android-dateutils
xdoclet
firebase-security
lean
spreadjs
ikiwiki
jnlua
relativelayout
dynatree
grgit
iokit
fiware-monitoring
ons-api
coda
toolkit
cgi-bin
node-serialport
entity-framework-4.3
dot.js
qtwebengine
pseudo-class
insight.database
unix-socket
cuba
radiant
authlogic
websphere-esb
syndicationfeed
bin
jammer
mbunit
kogrid
server-administration
http-status-code-410
adobe-media-server
extconf.rb
ikimagebrowserview
filemerge
rmdir
codebase
commerceserver2007
metaweblog
timertask
ie-compatibility-mode
application-verifier
qtabbar
entitykey
idatareader

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App