-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Add a way to save and easily reuse (without having to type the repo and branch again) mod templates, e.g.:
1st time creating mod with template:
geode new
| Info | This utility will walk you through setting up a new mod.
| Info | You can change any of the properties you set here later on by editing the generated mod.json file.
| Info | Choose a template for the mod to be created:
| Info | Here you can use any github repository
| Info | Use this syntax: 'user/repo' or 'user/repo@branch'
Template: OmgRod/template@random-branch
Would you like to save this template? (Y/N): Y
2nd time creating mod with template:
| Info | This utility will walk you through setting up a new mod.
| Info | You can change any of the properties you set here later on by editing the generated mod.json file.
| Info | Choose a template for the mod to be created:
Default - Simple mod that adds a button to the main menu.
Minimal - Minimal mod with only the bare minimum to compile.
GitHub Repository - Use your own custom template from github.
Local Repository - Mod template from your own local git repository.
❯ Saved Repository - Mod template you previously used
...
| Info | Please pick a repository from the list below:
1. OmgRod/template@random-branch
2. OmgRod/template@another-branch
Template Number: 1
Cloning repo.. blah blah blah...
And then to delete saved repositories, use a geode config command
Metadata
Metadata
Assignees
Labels
No labels