bin/hammer in hammer_cli-0.1.3 vs bin/hammer in hammer_cli-0.1.4
- old
+ new
@@ -15,10 +15,11 @@
option ["-d", "--debug"], :flag, _("show debugging output")
option ["-c", "--config"], "CFG_FILE", _("path to custom config file")
option ["-u", "--username"], "USERNAME", _("username to access the remote system")
option ["-p", "--password"], "PASSWORD", _("password to access the remote system")
option ["-s", "--server"], "SERVER", _("remote system address")
+ option ["-r", "--reload-cache"], :flag, _("force reload of Apipie cache")
option ["--interactive"], "INTERACTIVE", _("Explicitly turn interactive mode on/off") do |value|
bool_normalizer = HammerCLI::Options::Normalizers::Bool.new
bool_normalizer.format(value)
end
end
@@ -55,10 +56,11 @@
:_params => {
:username => preparser.username,
:password => preparser.password,
:host => preparser.server,
:interactive => preparser.interactive,
- :verbose => preparser.verbose? || preparser.debug?
+ :verbose => preparser.verbose? || preparser.debug?,
+ :reload_cache => preparser.reload_cache?
}})
if HammerCLI::Settings.get(:mark_translated)
include HammerCLI::I18n::Debug
end