aws-amplify / aws-amplify/amplify-cli

Add Hyphen support for the project name on amplify init.

Open
#12,939 2 comments 0 reactions 0 assignees View on GitHub
feature-request p3 platform
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### Is this feature request related to a new or existing Amplify category?

_No response_

### Is this related to another service?

_No response_

### Describe the feature you'd like to request

when attempting to create a new amplify project using the cli one cannot use hyphens such as pauls-project

when using the Web Console, you can.

### Describe the solution you'd like

can we get hyphens added to the amplify init regex please?

thanks.

### Describe alternatives you've considered

manually creating the app in the console every time.. seems a bit annoying.

### Additional context

_No response_

### Is this something that you'd be interested in working on?

- [ ] 👋 I may be able to implement this feature request

### Would this feature include a breaking change?

- [ ] ⚠️ This feature might incur a breaking change

Contributor guide

Open the contributing guide

Research direction

Start by locating the project-name validation regex used by the amplify init flow, then reproduce the rejection with a hyphenated name such as pauls-project. Done means the CLI accepts hyphenated project names consistently with the Web Console and the relevant validation behavior is covered by tests, if present.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.