Comments (6)
+1
We deploy to prod as part of a CI process and can't currently do this with prod:deploy
from acquia_cli.
Hi @b-sharpe, I spent a little bit of time on this today and slotted in a fairly simple fix to address this. Could I ask that you look into the auto-confirm
branch and the --yes
option to add to commands typically requiring a confirmation. It looks ok to me but I'd appreciate a second opinion prior to merging to master.
from acquia_cli.
@typhonius awesome, thanks. Seems to work, is there (or possibly in future) ever a case where the 'yes' option wouldn't exist? I notice getOption throws an exception if there is no definition for yes
Otherwise, it works and i'm all for it! (would love to get a release with this as well as the optional config steps) :)
from acquia_cli.
@b-sharpe as long as the option is defined (which we do in src/AcquiaCli.php
) then getOption
won't throw the exception. Since we're adding in this option, we have control over if we'll ever remove it (which I can't see me doing). On reflection of your comment, we could potentially rename --yes
to something a bit more specific e.g. --no-confirm
. Do you have any ideas about a relevant command option?
from acquia_cli.
no I think --yes and -y are pretty universal in the drupal/drush world, I would keep as is, also agree if you are defining it as a default option that no need to worry about the exception. Good work!
from acquia_cli.
Thanks - this has been committed, and I've rolled a 1.0.3 version.
from acquia_cli.
Related Issues (20)
- Too many arguments, expected arguments "command" "environmentId" error when using "code-switch" HOT 1
- "Limit" & "Sort" Options does not work for backups list HOT 1
- Call to undefined method AcquiaCloudApi\Connector\Client::addOption() HOT 1
- Option to disable backups when moving DBs
- setup:config creates an unwritable ~/.acquiacli directory. HOT 2
- downloading database backups with the acquia_cli doesn't work with the latest version of curl HOT 1
- Update to use ^3 of consolidation/robo
- PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::advance() must be of the type integer, null given HOT 11
- Wrong example of deploy:prepare HOT 2
- BLT compatibility HOT 2
- Support Windows usage HOT 1
- Allow users to override the lock HOT 1
- The API token is expired during the code:switch task HOT 8
- Do not perform DB backup during the "code:switch" task until explicitly requested HOT 2
- WaitForNotification timeout (300s exceeded) HOT 2
- PHP Warning: sem_remove() HOT 6
- CI acquia task number output? HOT 4
- 300 Second task timeout limit reached HOT 1
- Return output in custom format HOT 6
- A way to retrieve a branch of the current environment? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acquia_cli.