1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Fix code fencing

This commit is contained in:
Lee Hambley 2013-06-13 17:34:52 +02:00
parent ee1a9f9a13
commit ef53345112

View file

@ -123,6 +123,7 @@ This method is widely used.
## Getting User Input
``` ruby
desc "Ask about breakfast"
task :breakfast do
breakfast = ask(:breakfast, "What would you like your colleagues to you for breakfast?")
@ -130,11 +131,16 @@ task :breakfast do
execute "echo \"$(whoami) wants #{breakfast} for breakfast!\" | wall"
end
end
```
Perfect, who needs telephones.
## Console
**Note:** Here be dragons. The console is very immature, but it's much more
cleanly architected than previous incarnations and it'll only get better from
here on in.
Execute arbitrary remote commands, to use this simply add
`require 'capistrano/console'` which will add the necessary tasks to your
environment:
@ -184,7 +190,6 @@ your company lacks the infrastructure to test this in a staging environment)
## Configuration
## SSHKit
[SSHKit][https://github.com/capistrano/sshkit] is the driver for SSH