2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2018-10-01 20:00:26 +00:00
|
|
|
module Spring
|
|
|
|
module Client
|
|
|
|
class Rails < Command
|
|
|
|
|
|
|
|
DEFAULT_COMMANDS = COMMANDS.dup
|
|
|
|
DEFAULT_ALIASES = ALIASES.dup
|
|
|
|
|
2021-12-27 14:50:27 +00:00
|
|
|
remove_const(:COMMANDS)
|
|
|
|
remove_const(:ALIASES)
|
2018-10-01 20:00:26 +00:00
|
|
|
|
2021-12-27 14:50:27 +00:00
|
|
|
const_set(:COMMANDS, DEFAULT_COMMANDS + %w[server])
|
|
|
|
const_set(:ALIASES, DEFAULT_ALIASES.merge('s' => 'server'))
|
2018-10-01 20:00:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|