class

Ralph::Cli::Runner

Inherits Reference / Object

CLI runner for Ralph

Provides command-line interface for database operations:

  • Creating migrations
  • Running migrations
  • Rolling back migrations
  • Checking migration status

Constructors

new(output : IO = STDOUT, migrations_dir : String = "./db/migrations", models_dir : String = "./src/models")
Source

Instance methods

run(args = ARGV)

Run the CLI with the given arguments

Source