-
Notifications
You must be signed in to change notification settings - Fork 30
/
tools.rb
executable file
·22 lines (16 loc) · 1.28 KB
/
tools.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env ruby
require 'clamp'
require File.join(File.dirname(__FILE__), 'lib/tool_belt')
Clamp.allow_options_after_parameters = true
class MainCommand < Clamp::Command
subcommand "cherry-picks", "Calculate needed cherry picks for a given release configuration", ToolBelt::Command::CherryPickCommand
subcommand "changelog", "Generate changelog for a given release", ToolBelt::Command::ChangelogCommand
subcommand "branch", "Create and push the branch or tag for each repository as specified in the configuration", ToolBelt::Command::BranchCommand
subcommand "branch-docs", "Generate docs for a given release", ToolBelt::Command::BranchDocsCommand
subcommand "setup-environment", "Setup release environment for a given configuration", ToolBelt::Command::SetupEnvironmentCommand
subcommand "pulp-repo-update", "Update Katello's Pulp repository based on parameters", ToolBelt::Command::PulpRepositoryUpdateCommand
subcommand "koji", "Commands for various Koji release related tasks", ToolBelt::Command::KojiCommand
subcommand "mash-scripts", "Generate mash script files for a release", ToolBelt::Command::MashScriptsCommand
subcommand "check-deprecation-warnings", "Check codebase for outdated deprecation warnings", ToolBelt::Command::CheckDeprecationWarningsCommand
end
MainCommand.run