Sha256: 6c2d953b6aadb26f64668348d8df4569b77ff4eaed0ae39262905ab2a53bb32b
Contents?: true
Size: 480 Bytes
Versions: 1
Compression:
Stored size: 480 Bytes
Contents
# frozen_string_literal: true require_relative "generators/solution" require_relative "strategy/leetcode" module Katagen # # Entry generator from cli # class Command # @param [String] input_id: question id # @param [Hash] options # @option options [String] cwd: defaults to "./" def self.leetcode(input_id, options = {}) solution = Generators::Solution.new(Strategy::LeetCode.new(input_id), options) solution.create_package end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katagen-1.0.1 | lib/katagen/command.rb |