Sha256: 9cdd5663732a19c7549faf13e71d65de36aa095fdc9cda513c5c781970cd2222

Contents?: true

Size: 551 Bytes

Versions: 4

Compression:

Stored size: 551 Bytes

Contents

# frozen_string_literal: true
require "cri"

module Cfer
  module Auster
    module CLI
      def self.generate_repo
        Cri::Command.define do
          name "repo"
          usage "repo OUTPUT_PATH"
          description "Generates a new Auster plan 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/repo.rb
auster-0.3.1 lib/cfer/auster/cli/generate/repo.rb
auster-0.3.0 lib/cfer/auster/cli/generate/repo.rb
auster-0.2.2 lib/cfer/auster/cli/generate/repo.rb