silly icon indicating copy to clipboard operation
silly copied to clipboard

Expressions written with HEREDOC/NOWDOC format oddly

Open shadowhand opened this issue 2 years ago • 0 comments

$app->command(
    expression: <<<'COMMAND'
    evaluations:run
    [--id=]
    [--event=]
    [--type=]
    [--start-time=]
    [--end-time=]
    [--step=]
    [--table=]
    COMMAND,
    callable: RunEvaluations::class
);

Ends up looking like the following when using app list:

  evaluations:run                                                                                                                                                                                                                                                              
[--id=]                                                                                                                                                                                                                                                                        
[--event=]                                                                                                                                                                                                                                                                     
[--type=]                                                                                                                                                                                                                                                                      
[--start-time=]                                                                                                                                                                                                                                                                
[--end-time=]                                                                                                                                                                                                                                                                  
[--step=]                                                                                                                                                                                                                                                                      
[--table=]

When I would expect it to be:

  evaluations:run [--id=] [--event=] [--type=] [--start-time=] [--end-time=] [--step=] [--table=]

shadowhand avatar May 05 '22 18:05 shadowhand