kowainik / kowainik/crocodealer

Implement data types for CLI

Open
#4 6 comments 0 reactions 0 assignees View on GitHub
CLI Hacktoberfest
Dominant language
Haskell
Stars
8
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Only data types, no CLI parser yet. The data types should represent the following commands:

1. `croco sync [FILE_NAMES]`: update files in every repo
2. `croco labels`: apply all label rules

See an example of data types in `summoner`:

* https://github.com/kowainik/summoner/blob/ef15f4911c701e40dfe35f9e27ad14c96c228710/summoner-cli/src/Summoner/CLI.hs#L206-L213

Think of possible options that can be applied to every command.

Contributor guide

Open the contributing guide

Research direction

Start with the referenced Summoner CLI.hs example, especially lines 206-213, and inspect crocodealer's existing entry points for where CLI data types belong. Define types for the sync and labels commands, including options shared by both; done means the command data is represented without implementing a parser.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.