Skip to content

Expressions written with HEREDOC/NOWDOC format oddly #65

@shadowhand

Description

@shadowhand
$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=]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions