DedSecInside / DedSecInside/gotor

CLI polish (Cobra) + config file merge (YAML/JSON + env/flags)

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
173
Forks
45
PR merge metrics
No merged PRs in 30d

Description

## Summary
Adopt Cobra with subcommands and a unified config loader that merges config file, env vars, and flags.

## Motivation
- Cleaner UX
- Reproducible runs and easier ops automation

## Scope
- Commands: `crawl`, `serve`, `resume`, `bench`
- `--config` path; precedence: file < env < flags
- Help text and examples

## Acceptance Criteria
- `gotor crawl -c gotor.yaml` reproduces a run exactly
- `--help` is clear and complete

## Tasks
- [ ] Integrate Cobra
- [ ] Config loader + precedence rules
- [ ] Update README and examples

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.