Sha256: 221f65ddb8ed749c15a375ae1b561bd7231c426f8316c6b1189d8ae769cac4ea
Contents?: true
Size: 1.13 KB
Versions: 25
Compression:
Stored size: 1.13 KB
Contents
# frozen_string_literal: true require "clamp" require_relative "new" require_relative "setup" require_relative "make" require_relative "work" require_relative "clean" require_relative "clone" require_relative "pull" require_relative "init" require_relative "nuget_cache" module Makit module Cli # Define the main command which includes the subcommands class MainCommand < Clamp::Command option ["-v", "--version"], :flag, "Show version" do puts "makit version #{Makit::VERSION}" exit(0) end subcommand "new", "Create a new entity", NewCommand subcommand "setup", "Setup a project directory", SetupCommand subcommand "work", "Work on a project", WorkCommand subcommand "make", "Make a project", MakeCommand subcommand "clean", "Clean a project", CleanCommand subcommand "clone", "Clone a git repository", CloneCommand subcommand "pull", "Pull latest changes from a git repository", PullCommand subcommand "init", "Initialize a directory as a git repository", InitCommand subcommand "nuget_cache", "Manage the NuGet cache", NugetCacheCommand end end end
Version data entries
25 entries across 25 versions & 1 rubygems
Version | Path |
---|---|
makit-0.0.27 | lib/makit/cli/main.rb |
makit-0.0.5 | lib/makit/cli/main.rb |
makit-0.0.4 | lib/makit/cli/main.rb |
makit-0.0.3 | lib/makit/cli/main.rb |
makit-0.0.2 | lib/makit/cli/main.rb |