Sha256: 97f2188f3952d1d05af0a803a81a0742d2b05a206a3bc505d3768411e8d71895

Contents?: true

Size: 1.36 KB

Versions: 7

Compression:

Stored size: 1.36 KB

Contents

# encoding: UTF-8

module Tetra
  # program entry point
  class MainCommand < Clamp::Command
    subcommand(
      "init",
      "Inits a tetra project in the current directory",
      Tetra::InitSubcommand
    )

    subcommand(
      "dry-run",
      "Starts or ends a dry-run build",
      Tetra::DryRunSubcommand
    )

    subcommand(
      "generate-kit",
      "Create or refresh the kit spec and archive files",
      Tetra::GenerateKitSubcommand
    )

    subcommand(
      "generate-script",
      "Create or refresh the package build.sh file",
      Tetra::GenerateScriptSubcommand
    )

    subcommand(
      "generate-spec",
      "Create or refresh the package spec file",
      Tetra::GenerateSpecSubcommand
    )

    subcommand(
      "generate-all",
      "Create or refresh all specs, archives, scripts",
      Tetra::GenerateAllSubcommand
    )

    subcommand(
      "patch",
      "Saves changes in source files for inclusion in a patch",
      Tetra::PatchSubcommand
    )

    subcommand(
      "change-sources",
      "Swaps the sources for this package with new ones",
      Tetra::ChangeSourcesSubcommand
    )

    subcommand(
      "move-jars-to-kit",
      "Locates jars in src/ and moves them to kit/",
      Tetra::MoveJarsToKitSubcommand
    )

    subcommand(
      "get-pom",
      "Retrieves a pom file",
      Tetra::GetPomSubcommand
    )
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tetra-2.0.6 lib/tetra/ui/main.rb
tetra-2.0.5 lib/tetra/ui/main.rb
tetra-2.0.4 lib/tetra/ui/main.rb
tetra-2.0.3 lib/tetra/ui/main.rb
tetra-2.0.2 lib/tetra/ui/main.rb
tetra-2.0.1 lib/tetra/ui/main.rb
tetra-2.0.0 lib/tetra/ui/main.rb