Module: Twenty::Command::Option::Database

Included in:
Console, Migrate, Up
Defined in:
lib/twenty/cli/command/option/database.rb

Class Method Summary collapse

Class Method Details

.included(mod) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/twenty/cli/command/option/database.rb', line 3

def self.included(mod)
  mod.module_eval do
    set_option "-d PATH",
               "--database PATH",
               "The path to an alternate SQLite database",
               as: String,
               default: nil
  end
end