This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listing of child templates
- Remove private functions inside the handlers module - Add Helper modules to have better organization - Simplify Template operations - Remove dynamic prompts from template operations
- target net7 as well
Move inputs to their modules to allow parse testing
This was referenced Apr 12, 2023
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses some of the issues found in #103, #95 and #102
It is mainly aimed to enrich template related operations from creating new projects to add and show information related to existing template in perla.
This also will help to improve the workflow related to create new projects e.g.
where -id is an android-like that should be a unique identifier for each template in a repository and
ff
is a short name defined in the template's configurationThese changes require a little bit more of work on the template authoring experience (writing a json file) but I think it is worth it.
Also as a new option, using perla new without flags features a wizard-like experience where it will show you the existing templates in the system and which one you can pick up, it will also share with you the short command syntax for the next time you create a project
ce759c83-9f5c-4799-a652-787c4096e233.mp4
Lastly we've refactored a bit the contents of the Commands and separated handlers from inputs and commands themselves so we can start testing that our inputs get parsed as we intend them to use
e.g. being able to parse
add package -s esm.sh
and ensure we can use-s esm.sh
or-s unpkg
or any other alternatives we support