mnahkies / mnahkies/openapi-code-generator

require clean git working directory by default

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

Nobody has claimed this yet.

enhancement good first issue
Dominant language
TypeScript
Stars
34
Forks
8
Avg merge
20h 27m
Merged PRs (30d)
7

Description

we don't want to accidentally overwrite peoples work

  • bail out if output directory is a git repo and there are uncommitted changes
  • add flag to override this behavior

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

No file or test is named. Start by locating the CLI's output-directory handling and existing option definitions, then check how the tool detects a Git repository and uncommitted changes. Done means generation stops by default for a dirty output repository and an override flag permits it.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, typescript
Domain
cli, devtools, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.