Skip to content

unknown argument makes no suggestions #205

@gilescope

Description

@gilescope

What went wrong?

If you used --if-exist rather than the correct --if-exists for SAVE ARTIFACT, the error gives no hint that the argument you have used is very similar one that it knows about:

Earthfile:994:4 invalid SAVE ARTIFACT arguments [--if-exist /scan_reports/* AS LOCAL scan_reports/]: unknown flag `if-exist'

These kinds of tweaks make developer experience far better for newbies.

What should have happened?

It should have suggested maybe you mean --if-exists?

What earthly version?

0.8

Buildkit Logs

No response

Other Helpful Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions