gren-lang / gren-lang/compiler

gren generate

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

Nobody has claimed this yet.

Dominant language
Haskell
Stars
503
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Add new command for generating projects

  • gren generate project => replaces gren init, setups common files beyond gren.json
  • gren generate module => creates a module at correct location complete with default imports

Also evaluate whether test projects belong here or should be added as a gren runable program in the test-runners.

Contributor guide

Open the 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.

Research direction

Start by tracing the existing gren init command and the test-runners handling referenced in the issue. Define the behavior for gren generate project and gren generate module, including generated files and imports, then document whether test projects belong there or should be runnable through gren run.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.