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

Add an interactive script for generating a package skeleton #11

Open
matteodelabre opened this issue Sep 27, 2020 · 0 comments
Open

Add an interactive script for generating a package skeleton #11

matteodelabre opened this issue Sep 27, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@matteodelabre
Copy link
Member

(As proposed by @raisjnn and @LinusCDE on Discord.)

Given a (new) package name, it should create a directory for that package and initialize a package file from a template. The script can ask for the user to provide additional metadata at the command prompt and give them directions on how to continue writing the package file. We should also have a flag to disable this interactivity and just generate a template file (for users who prefer editing the file directly).

Possible scenario:

$ git clone [email protected]:toltec-dev/toltec.git
$ cd toltec
$ ./scripts/init.py
package name: my-package
package version: 0.0.1-1
project url: 
... (and so on)

We could add hints or outright force the user to confirm a choice we find not good (like _ in versions or missing -n at the end) without the user needing to read how to make it him/herself. (kinda like npm init or other project creation tools i guess)

@matteodelabre matteodelabre transferred this issue from toltec-dev/toltec Jul 31, 2021
@Eeems Eeems added the enhancement New feature or request label Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants