ericmdantas / ericmdantas/ngf

Possibility to read a config file and answer the first questions

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Pretty much what's asked here https://github.com/ericmdantas/generator-ng-fullstack/issues/192.

> For big projects/teams, it's pretty annoying to answer the same questions over and over again, given they usually have the same answer.

> It'd be nice to be able to pass the yo-rc file around (from project to project) and have ng-fullstack recognize that and already "know the answers", not asking all the questions again.

> We'll have to check how yo'd let us do that, though.

The file could be named `.yo-rc.json`, or even `ngf.json`.

When the user finishes answering the questions, the `.yo-rc.json` would be created on the fly.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the linked generator-ng-fullstack issue #192 first, then investigate how Yeoman exposes project configuration and how ngf currently asks its questions. Compare the proposed .yo-rc.json and ngf.json approaches; done means an existing configuration supplies the answers without prompting and a configuration file is created after the user answers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.