Sha256: 3bccce9984e1842cff709fbe2931e9902a99b7ad5ad1bc0dfb94fcf0a9fd6e70
Contents?: true
Size: 388 Bytes
Versions: 1
Compression:
Stored size: 388 Bytes
Contents
namespace :cake do desc "Execute a provided cake command" task :console, :command_name do |t, args| # ask only runs if argument is not provided ask(:cmd, "list") command = args[:command_name] || fetch(:cmd) on roles fetch(:cake_roles) do within release_path do execute :cake, command, *args.extras, fetch(:cake_console_flags) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-cake-0.0.2 | lib/capistrano/tasks/console.rake |