Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Project Validation - Pre Execution #50

Open
eyal-mor opened this issue Feb 27, 2023 · 0 comments
Open

Add Project Validation - Pre Execution #50

eyal-mor opened this issue Feb 27, 2023 · 0 comments
Labels
DevX Developer Experience related enhancement New feature or request good first issue Good for newcomers

Comments

@eyal-mor
Copy link
Contributor

When executing commands, the CLI may require some files to be available, top examples:

  1. main.pipeline.jsonnet.
  2. cleanup.pipeline.jsonnet.

These files should be validated pre-execution and have a clear error message requiring them.
E.g.:

no such file: `main.pipeline.jsonnet`
`shore render` can only be invoked if `main.pipeline.jsonnet` exists.
  Please validate `main.pipeline.jsonnet` exist in the root of the project.

no such file: `cleanup.pipeline.jsonnet`
`shore render` can only be invoked if `cleanup.pipeline.jsonnet` exists.
  Please validate `cleanup.pipeline.jsonnet` exist in the root of the project.
@dkirillov dkirillov added enhancement New feature or request good first issue Good for newcomers DevX Developer Experience related labels May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevX Developer Experience related enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants