Redocly / Redocly/create-openapi-repo

Replace interactive prompts with command line arguments

Open
#52 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
695
Forks
111
PR merge metrics
No merged PRs in 30d

Description

I am using create-openapi-repo to create my openapi github repos and it works wonderfully, however, I have a use-case where I require command line parser support to allow this to work without user interaction.

In other words, each of the interactive prompts should be implemented as an argument provided at the command line.

This will allow this marvellous utility to be used in a scripted environment.

Once it has a command line then it would be great to make this available as a Docker image rather than requiring node/npm/npx.

Contributor guide

No contributing guide indexed for this repository

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 locating the create-openapi-repo entry point and reviewing how its interactive prompts collect answers. Define command-line arguments for each prompt and verify that the generator runs without user interaction in a scripted environment. Treat the proposed Docker image as a separate follow-up unless its scope is confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript, node.js
Domain
cli, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.