class method self.new

Ruby on Rails 2.9.0

Since v1.9.3 Last seen in v2.11.0

Available in: v1.9.3 v2.0.0 v2.1.2 v2.2.2 v2.3.0 v2.4.0 v2.5.3 v2.6.1 v2.7.0 v2.8.2 v2.9.0 v2.10.1 v2.11.0

Signature

self.new(args = [], local_options = {}, config = {})

No documentation comment.

Parameters

args opt = []
local_options opt = {}
config opt = {}
Source
# File lib/kamal/cli/base.rb, line 25
    def initialize(args = [], local_options = {}, config = {})
      if config[:current_command].is_a?(Kamal::Cli::Alias::Command)
        # When Thor generates a dynamic command, it doesn't attempt to parse the arguments.
        # For our purposes, it means the arguments are passed in args rather than local_options.
        super([], args, config)
      else
        super
      end

      initialize_commander unless KAMAL.configured?
    end

Defined in lib/kamal/cli/base.rb line 25 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Kamal::Cli::Base

Type at least 2 characters to search.

↑↓ navigate · open · esc close