Class: ORS::Commands::Base
- Inherits:
-
Object
- Object
- ORS::Commands::Base
- Extended by:
- ClassMethods
- Includes:
- Helpers
- Defined in:
- lib/ors/commands/base.rb
Direct Known Subclasses
Changes, Console, Deploy, Env, Exec, Help, Logs, Migrate, Restart, Ruby, Runner, Setup, Start, Stop, Symlink, Timestamps, Update
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Methods included from ClassMethods
Methods included from Helpers
#build_command, #execute_command, #execute_in_parallel, #fatal, #info
Methods included from Helpers::CommandHelpers
#bundle_install, #restart_server, #run_migrations, #setup_repo, #setup_ruby, #start_server, #stop_server, #update_code
Methods included from Helpers::PrepareHelpers
#prepare_environment, #prepare_environment_with_rvm, #prepare_initial_environment
Methods included from Helpers::ParseHelpers
Instance Method Details
#description ⇒ Object
37 38 39 |
# File 'lib/ors/commands/base.rb', line 37 def description "Base Command Class" end |
#help ⇒ Object
50 51 52 53 54 55 56 57 58 59 |
# File 'lib/ors/commands/base.rb', line 50 def help puts <<-END Usage: #{usage} === Description #{description} #{} END end |
#help_options ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'lib/ors/commands/base.rb', line 41 def <<-END === Options from|to environment Set which environment to use (default production) --pretend (or -p) Don't execute anything, just show me what you're going to do --no-gateway (or -ng) Don't use a gateway (if you're inside the firewall) END end |
#setup ⇒ Object
30 31 |
# File 'lib/ors/commands/base.rb', line 30 def setup end |
#usage ⇒ Object
33 34 35 |
# File 'lib/ors/commands/base.rb', line 33 def usage "./ors base [options]" end |