lib/tetra/main.rb in tetra-0.46.0 vs lib/tetra/main.rb in tetra-0.48.0

- old
+ new

@@ -4,93 +4,69 @@ # program entry point class MainCommand < Clamp::Command subcommand( "init", "Inits a tetra project in the current directory", - Tetra::InitCommand + Tetra::InitSubcommand ) subcommand( "dry-run", - "Starts a dry-run build", - Tetra::DryRunCommand + "Starts or ends a dry-run build", + Tetra::DryRunSubcommand ) subcommand( "mvn", "Locates and runs Maven from any directory in kit/", - Tetra::MavenCommand + Tetra::MvnSubcommand ) subcommand( "ant", "Locates and runs Ant from any directory in kit/", - Tetra::AntCommand + Tetra::AntSubcommand ) subcommand( - "finish", - "Ends the current dry-run", - Tetra::FinishCommand - ) - - subcommand( "generate-kit", "Create or refresh the kit spec and archive files", - Tetra::GenerateKitCommand + Tetra::GenerateKitSubcommand ) subcommand( "generate-script", "Create or refresh the package build.sh file", - Tetra::GenerateScriptCommand + Tetra::GenerateScriptSubcommand ) subcommand( "generate-archive", "Create or refresh the package tarball", - Tetra::GenerateArchiveCommand + Tetra::GenerateArchiveSubcommand ) subcommand( "generate-spec", "Create or refresh the package spec file", - Tetra::GenerateSpecCommand + Tetra::GenerateSpecSubcommand ) subcommand( "generate-all", "Create or refresh all specs, archives, scripts", - Tetra::GenerateAllCommand + Tetra::GenerateAllSubcommand ) subcommand( "move-jars-to-kit", "Locates jars in src/ and moves them to kit/", - Tetra::MoveJarsToKitCommand + Tetra::MoveJarsToKitSubcommand ) subcommand( - "download-maven-source-jars", - "Attempts to download Maven kit/ sources", - Tetra::DownloadMavenSourceJarsCommand - ) - - subcommand( "get-pom", "Retrieves a pom file", - Tetra::GetPomCommand - ) - - subcommand( - "get-source", - "Attempts to retrieve a project's sources", - Tetra::GetSourceCommand - ) - - subcommand( - "list-kit-missing-sources", - "Locates jars in kit/ that have no source files", - Tetra::ListKitMissingSourcesCommand + Tetra::GetPomSubcommand ) end end