Sha256: 4bc060c47a86b959105ab141adaf1c9be86892f61b0e6d02a44535c1fda8a176
Contents?: true
Size: 458 Bytes
Versions: 1
Compression:
Stored size: 458 Bytes
Contents
require "thor" require_relative "command" module Katagen # Command CLI class CLI < Thor desc "leetcode <leetcode_question_id> [options]", "create a folder to record your answer for the leet code question" method_option :cwd, default: "./", desc: "current working directory" method_option :lang, default: "rb", desc: "file extension for solution" def leetcode(input_id) Katagen::Command.leetcode(input_id, options) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katagen-1.0.1 | lib/katagen/cli.rb |