Update lib/kamal/cli/server.rb

Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
This commit is contained in:
Donal McBreen
2024-05-21 08:22:20 +01:00
committed by GitHub
parent 8a4f7163bb
commit 060e5d2027

View File

@@ -1,6 +1,6 @@
class Kamal::Cli::Server < Kamal::Cli::Base
desc "exec", "Run a custom command on the server (use --help to show options)"
option :interactive, type: :boolean, aliases: "-i", default: false, desc: "Run the command interactively(use for console/bash)"
option :interactive, type: :boolean, aliases: "-i", default: false, desc: "Run the command interactively (use for console/bash)"
def exec(cmd)
hosts = KAMAL.hosts | KAMAL.accessory_hosts