Sha256: 35367c30151ec8495e4c0527f1f51c851d0884d009f13d15296ac4a887738366

Contents?: true

Size: 553 Bytes

Versions: 4

Compression:

Stored size: 553 Bytes

Contents

# frozen_string_literal: true
require "cri"

module Cfer
  module Auster
    module CLI
      def self.generate_step
        Cri::Command.define do
          name "step"
          usage "step ##"
          description "Generates a step in the current Auster repo."

          CLI.base_options(self)

          flag :h, :help, "show help for this command" do |_, cmd|
            puts cmd.help
            Kernel.exit 0
          end

          run do |_, _, cmd|
            raise "TODO: implement"
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
auster-0.4.0 lib/cfer/auster/cli/generate/step.rb
auster-0.3.1 lib/cfer/auster/cli/generate/step.rb
auster-0.3.0 lib/cfer/auster/cli/generate/step.rb
auster-0.2.2 lib/cfer/auster/cli/generate/step.rb