-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature Request: Task descriptions #62
Comments
Here's an alternative idea, if a command is an object allow specific properties: company.build-prod:
description: Build production
command: |
docker-compose exec api yarn run tsc --pretty --project tsconfig.production.json
company.single-test:
description: Run a single test
args:
file:
type: FILE
command: |
docker-compose exec api yarn test-pattern ${file} |
@reggi Thanks for the suggestions! As far as descriptions, it's already implemented (just not documented yet, sorry) using task meta-information syntax ( Project: aaa
build.Doc: Builds the system
build: |
./build
In general, we have ideas for more of these extensions (including declarative argument checking and task dependencies). As far as arguments, while there's no way to validate them (yet), there are ways you can access them beyond what bash supports (
Notice the |
We need to document this. Created #67 to address it. I'm closing this issue but if anybody feels it should be reopen, please feel free to do so. |
I'd love to see descriptions in the
oya tasks
command of what a task is.Then:
It would be nice to have descriptions and arguments.
The text was updated successfully, but these errors were encountered: