Sha256: 20b6f4083cefa5fe0587c343922c69ed925bb991efb7b54051a9eb29eaa1894b

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

class TcCli
  desc "Adds new project"
  long_desc "Allows to create new project"
  arg_name '{project_name}'
  command :add do |command|
    command.action do |global, options, args|
      name = args.first
      puts "Project #{name} was successfully added." if AddProject.new(name).call
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
techcor-0.0.1 lib/commands/gli/add.rb