Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Template Saving and Listing Functionality #283

Open
WannaCry016 opened this issue Nov 26, 2024 · 3 comments
Open

Feature Request: Template Saving and Listing Functionality #283

WannaCry016 opened this issue Nov 26, 2024 · 3 comments

Comments

@WannaCry016
Copy link

Currently, Neutralinojs CLI allows us to create projects from GitHub templates, but it lacks functionality for managing and reusing locally saved templates. Developers have to re-download or clone templates from remote sources every time they need them, which can slow down the development process.

Proposed Solution

Adding the following features:

  • Save Templates: Allow users to save a project setup as a local template using the command:
    neu template save <template-name>
  • List Templates: Provide a command to list all available local templates with:
    neu template list
  • Remove Templates: Enable users to remove saved templates with:
    neu template remove <template-name>
  • Create from Templates: Allow project creation using locally saved templates:
    neu create <project-name> --template <template-name>

Benefits

  • Faster Setup: Reuse common setups without needing to re-clone them.
  • Offline Use: Access templates without an internet connection.
  • Better Template Management: Simplify template management locally.

Next Steps

  1. Implement the save, list, and remove commands for templates.
  2. Enable creating projects from saved templates.
  3. Update documentation with examples for the new commands.
@WannaCry016
Copy link
Author

@shalithasuranga assign me this I would like to work on it

@shalithasuranga
Copy link
Member

Thanks so much for creating this issue with your ideas @WannaCry016. Seems like this is not core requirement for the neu CLI based on other feature requests from app developers. So, we can create a CLI plugin for this feature. Feel free to implement a plugin and publish it to NPM. Then, we can add it to: https://neutralino.js.org/resources

Thanks 🎉

@WannaCry016
Copy link
Author

WannaCry016 commented Nov 26, 2024

@shalithasuranga Also I was thinking of a command to dockerize the project it will help in team work , consistent isolated enviroment. Is this a good idea???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants