Add option for two-part configs with the destination option

This commit is contained in:
David Heinemeier Hansson
2023-01-17 13:35:55 +01:00
parent 98af1d3d96
commit 9a84460754
8 changed files with 75 additions and 16 deletions

View File

@@ -1,9 +1,9 @@
require "mrsk"
MRSK = Mrsk::Commander.new \
config_file: Pathname.new(File.expand_path("config/deploy.yml"))
module Mrsk::Cli
end
# SSHKit uses instance eval, so we need a global const for ergonomics
MRSK = Mrsk::Commander.new
require "mrsk/cli/main"