Add an argument validator function to tasks and facts
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing how the CLI creates investigations and how the daemon evaluates facts or runs tasks; the payload does not name specific files or tests. Define how tasks and facts expose argument validation, then verify that both CLI input handling and daemon execution invoke the same validator and reject invalid arguments.
Written by the indexing model from the issue text.
Description
Currently, tasks and facts can have minimum required arguments, so that the command line doesn't let users create nonsense investigations. There may be situations where the set of valid arguments is fairly restricted, and using a function for this would let fact/task authors define that set from the beginning. The cli could then call this function to ensure the input is valid, and the daemon could call this same function before evaluating a fact or running a task.
- Dominant language
- Go
- Stars
- 126
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coinbase/dexter
-
Installing on ReplitOpen
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
devlikeapro/waha#2322 ·
Maintainers usually reply within 2 days
-
validateDeclaredPath lets control characters through into the Gradle init script's Groovy literalOpenagent-butler-finding agent-research bug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jordansmall/spindrift#5821 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
[rmqctl][Bug] Windows build script fails when the output directory is absentPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
apache/rocketmq-dashboard#7243 ·
Maintainers usually reply within 3 days