class
AmberCLI::Commands::PipelinesCommand
- AmberCLI::Commands::PipelinesCommand
- AmberCLI::Core::BaseCommand
- Reference
- Object
Defined in:
amber_cli/commands/pipelines.crConstant Summary
-
FAILED_TO_PARSE_ERROR =
"Could not parse pipeline/plugs in #{ROUTES_PATH}" -
LABELS =
["Pipeline", "Pipe"] of ::String -
LABELS_WITHOUT_PLUGS =
["Pipeline"] of ::String -
PIPELINE_REGEX =
/^ \s* pipeline # match pipeline \s+ # require at least one whitespace character after pipeline ( (?: (?: \:(?:\w+) | \"(?:\w+)\" ) (?:\,\s*)? )+ ) # match and capture all contiguous words /x -
PLUG_REGEX =
/^ \s* plug # match plug \s+ # require at least one whitespace character after plug ( [\w:]+ # match at least one words with maybe a colon )? (?: [\.\s*\(] # until we reach ., spaces, or braces )? /x -
ROUTES_PATH =
"config/routes.cr"
Instance Method Summary
- #execute
- #help_description : String
- #result : Array({pipes: Array(String), plugs: Array(String)})
- #setup_command_options
- #show_plugs : Bool