Skip to content

brut new segment

Add a segement to your app to provide additional pre-configured functionality

USAGE

brut new segment [options] segment_name

OPTIONS

  • --env=ENVIRONMENT - Project environment, e.g. test, development, production. Default depends on the command
  • --log-level=LOG_LEVEL - Log level, which should be debug, info, warn, error, or fatal. Defaults to error
  • --debug, --verbose - Set log level to debug, and show log messages on stdout
  • --quiet - Set log level to error
  • --log-file=FILE - Path to a file where log messages are written. Defaults to $XDG_CACHE_HOME/brut/logs/brut.log
  • --[no-]log-stdout - Log messages to stdout in addition to the log file
  • --help, -h - Show help
  • --dir=DIR - Path to your app. Default is the current directory
  • --dry-run - Only show what would happen, don't actually do anything