๐ Shell
October 24, 2023 ยท View on GitHub
๐ Shell
> rugby shell --help
> Run shell command from Rugby.
Arguments:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ command * Shell script command. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Options:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ -o, --output * Output mode: fold, multiline, silent, raw. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Flags:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ -v, --verbose [] * Increase verbosity level. โ
โ -q, --quiet [] * Decrease verbosity level. โ
โ -h, --help * Show help information. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Discussion
This command is useful if you want to run some project configuration scripts before each build.
Describe a sequence of commands and you can run all of them at once with just the rugby command.
# For example
basic:
- command: shell
argument: xcodegen
- command: shell
argument: pod install
- command: cache
This is equivalent to:
> xcodegen && pod install && rugby cache
Call it:
> rugby basic
If it is the first plan in your plans file, call it just as:
> rugby
You can find more information about plan command in ๐ Plan Help.