Allow accessing CLI args in `init!`

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Domain
cli

Research direction

The payload names no files or tests. Start by finding where init! reads its configuration, probably from environment variables, and check how the maintainers expect a Roc program to receive its arguments. The issue does not say what the new API should look like, so agree on that shape in the thread before writing code. Done means init! can read CLI arguments and a test or example shows a value passed on the command line.

Written by the indexing model from the issue text.

Description

Sometimes it's easier to specify some config as CLI args, instead of environment variables.

Dominant language
HTML
Stars
110
Forks
25
Avg merge
18h 28m
Merged PRs (30d)
16

Getting set up

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 roc-lang/basic-webserver

All issues in roc-lang/basic-webserver

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.