Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add flags/configuration to pepr init #1020

Closed
cmwylie19 opened this issue Aug 2, 2024 · 1 comment · Fixed by #1141
Closed

add flags/configuration to pepr init #1020

cmwylie19 opened this issue Aug 2, 2024 · 1 comment · Fixed by #1141
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cmwylie19
Copy link
Collaborator

cmwylie19 commented Aug 2, 2024

Is your feature request related to a problem? Please describe.

If you already know Pepr, going through Pepr init can be burdensome since you already know what you want. Add flags so that scaffolding a new Pepr module can happen quicker.

Describe the solution you'd like

  • Given a Pepr user with knowledge of Pepr wants to scaffold a new module, or maybe even through automation
  • When they initialize the new module
  • Then flags or a config file is used to answer the questions in npx pepr init

Acceptance Criteria:

  • When you issue npx pepr init all of the same questions can be overridden if you have flags.
  • No change in behavior if flags are not used.

Describe alternatives you've considered

(optional) A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@cmwylie19 cmwylie19 added the enhancement New feature or request label Aug 2, 2024
@cmwylie19 cmwylie19 added this to the v0.36.0 milestone Aug 30, 2024
@samayer12
Copy link
Collaborator

samayer12 commented Sep 3, 2024

The current prompt-based input processing happens in walkthrough.ts, and called in src/cli/index.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
2 participants