-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Wasn't sure if I should file this as feature request or bug. If you share a pattern with the same name as an existing one it will overwrite whatever is there. This is useful as it allows you to update an existing pattern, however I don't think it should overwrite the README with an empty file.
Expected Behavior
The template.yaml should be updated, but the readme should not
Current Behavior
The readme file of the pattern is overwritten
Possible Solution
- We could check if there is already a readme file and if there is skip creating it
- We could prompt and ask if readme should be created
- We could have a specific update command or update flag
Steps to Reproduce (for bugs)
- Share a pattern
- Update the README
- Make some updates to the pattern
- Share the pattern again using the same name
Environment
- SAM Patterns CLI version:
- Node version:
- NPM version:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working