Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add an argument validator function to tasks and facts

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
backend, cli

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coinbase/dexter

All issues in coinbase/dexter

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.