mittwald / mittwald/cli

Fallback DDEV project name to dirname when empty

Open
#230 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
8
Forks
2
Avg merge
13h 26m
Merged PRs (30d)
35

Description

          Improvement idea (maybe another PR): Use Dirname as default value. So if an empty name is given, the directory name is used.

Originally posted by @LukasFritzeDev in https://github.com/mittwald/cli/pull/220#discussion_r1499398078

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

The issue does not name a file, test, or entry point. Locate the code that determines the DDEV project name and inspect how an empty value is handled. Done means an empty name falls back to the directory name, with coverage for that case if the surrounding code has tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.