Class: Migrant::CLI
- Inherits:
-
Thor
- Object
- Thor
- Migrant::CLI
- Defined in:
- lib/migrant/cli.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
19 20 21 22 |
# File 'lib/migrant/cli.rb', line 19 def destroy load_config(.environment) @environment.destroy end |
#info ⇒ Object
26 27 28 29 |
# File 'lib/migrant/cli.rb', line 26 def info load_config(.environment) @environment.info end |
#init ⇒ Object
6 7 8 |
# File 'lib/migrant/cli.rb', line 6 def init end |
#up ⇒ Object
12 13 14 15 |
# File 'lib/migrant/cli.rb', line 12 def up load_config(.environment) @environment.up end |