Sha256: e287058869c00534cbdb85d27c406c3d6402d2f33322a747ed92e6aced94cfc9

Contents?: true

Size: 1.59 KB

Versions: 3

Compression:

Stored size: 1.59 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(
      "mvn",
      "Locates and runs Maven from any directory in kit/",
      Tetra::MvnSubcommand
    )

    subcommand(
      "ant",
      "Locates and runs Ant from any directory in kit/",
      Tetra::AntSubcommand
    )

    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-archive",
      "Create or refresh the package tarball",
      Tetra::GenerateArchiveSubcommand
    )

    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(
      "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

3 entries across 3 versions & 1 rubygems

Version Path
tetra-0.52.0 lib/tetra/main.rb
tetra-0.51.0 lib/tetra/main.rb
tetra-0.50.0 lib/tetra/main.rb