Sha256: b042d3eb84ad4596c8e38eeb57811549aec21e5f985fe6d8ceb12c1f8ec75af8

Contents?: true

Size: 549 Bytes

Versions: 28

Compression:

Stored size: 549 Bytes

Contents

# frozen_string_literal: true

require "clamp"

module Makit
  module Cli
    # Define the 'new' subcommand
    class WorkCommand < Clamp::Command
      option ["-u", "--url"], "URL", "The git repository url"

      def execute
        if !url.nil?
          puts "url: #{url}"
          puts "relative directoyr: #{Makit::Environment.get_relative_directory(url)}"
          puts "work directory: #{Makit::Environment.get_work_directory(url)}"
        end
        puts "TODO: implement work command"
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
makit-0.0.56 lib/makit/cli/work.rb
makit-0.0.55 lib/makit/cli/work.rb
makit-0.0.54 lib/makit/cli/work.rb
makit-0.0.48 lib/makit/cli/work.rb
makit-0.0.40 lib/makit/cli/work.rb
makit-0.0.39 lib/makit/cli/work.rb
makit-0.0.38 lib/makit/cli/work.rb
makit-0.0.37 lib/makit/cli/work.rb
makit-0.0.36 lib/makit/cli/work.rb
makit-0.0.26 lib/makit/cli/work.rb
makit-0.0.25 lib/makit/cli/work.rb
makit-0.0.24 lib/makit/cli/work.rb
makit-0.0.23 lib/makit/cli/work.rb
makit-0.0.22 lib/makit/cli/work.rb
makit-0.0.21 lib/makit/cli/work.rb
makit-0.0.20 lib/makit/cli/work.rb
makit-0.0.19 lib/makit/cli/work.rb
makit-0.0.16 lib/makit/cli/work.rb
makit-0.0.13 lib/makit/cli/work.rb
makit-0.0.12 lib/makit/cli/work.rb