Sha256: 40bdd0756b150435a930a657607432d582fcc7e256a787071457322a5438b761
Contents?: true
Size: 541 Bytes
Versions: 3
Compression:
Stored size: 541 Bytes
Contents
#!/usr/bin/env ruby require "rocket_api" base_command = ARGV[0] sub_command = ARGV[1] project_name = ARGV[2] case base_command when RocketApi::INIT case sub_command when RocketApi::BASE # TODO: implement me when RocketApi::GEM begin RocketApi::RocketCommands.init_gem_dir RocketApi::RocketCommands.init_gem_files project_name&.downcase rescue RocketApi::Error => e puts "Init directory error: #{e.message}" end else puts RocketApi::WRONG_ANSWER end else puts RocketApi::WRONG_ANSWER end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rocket_api-0.0.1.5 | bin/rocket_api |
rocket_api-0.0.1.4 | bin/rocket_api |
rocket_api-0.0.1.3 | bin/rocket_api |