module Rooibos::CLI::Commands::Run
Runs the Rooibos application in the current directory.
Developers switch between editor and terminal constantly. Typing +bundle exec exe/my_app+ every time is tedious and error-prone.
This command finds the executable in exe/ and runs it via bundler. It walks up the directory tree to find the project root, then executes the first executable it finds.
Use it from any directory within your project.
Example
rooibos run
Public Class Methods
Source
# File lib/rooibos/cli/commands/run.rb, line 32 def self.call(argv) if ["--help", "-h"].include?(argv.first) puts usage exit(0) end run_app end
Runs the run command.
- argv
-
Command-line arguments.