lib/makit/cli/work.rb in makit-0.0.47 vs lib/makit/cli/work.rb in makit-0.0.48
- old
+ new
@@ -1,21 +1,21 @@
-# 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
+# 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