> rugby shortcuts umbrella --help
> Run the plan command if plans file exists or run the cache command.
Arguments:
╭──────────────────────────────────────────────────────────╮
│ arguments [] * Any arguments of plan or cache commands. │
╰──────────────────────────────────────────────────────────╯
Flags:
╭──────────────────────────────────────╮
│ -h, --help * Show help information. │
╰──────────────────────────────────────╯
The command checks if you have .rugby/plans.yml
file or you passed -p
, --path
options with path to plans file.
If file is found, Rugby will call plan command and pass all arguments.
If isn't, Rugby will call cache command and pass all arguments.
It allows to use Rugby in short way:
> rugby your_plan_name -p path_to_your_plans
Or shorter:
> rugby your_plan_name
Or even:
> rugby
If you want to use the first plan from .rugby/plans.yml
file.
Or if you don't have plans, it will call cache command with default arguments.
Also, you can pass cache arguments if you don't have .rugby/plans.yml
.
> rugby --arch x86_64
If you want to use cache command, even if you have plans file:
> rugby cache