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

Establish basic extension system #5

Open
alexcabrera opened this issue Oct 16, 2012 · 3 comments
Open

Establish basic extension system #5

alexcabrera opened this issue Oct 16, 2012 · 3 comments

Comments

@alexcabrera
Copy link
Contributor

Being able to extract common patterns into something that could be used across proto projects would be useful. Think of reset stylesheets, icon sets, etc.

These extensions could be saved in a ~/.proto directory and might be able to be structured similarly to proto projects.

The command line interface could looks something like this.

proto -r reset flatstyles -i testproj

@alecperkins
Copy link
Member

I've been thinking about this in terms of templates, which would just pre-fill proto projects with settings and content. Something like proto -t mobile -i project. Syntax seems a little verbose though. Reference/includes might be better, but more complicated to manage.

@alecperkins
Copy link
Member

A simpler template system might be to have a set of Gists that are named and the mapping of names to IDs is included in the CLI. That way, the templates themselves can be kept out of the codebase and just use the Gist loading capability. So, proto -it <template_name> to initialize and proto --list_templates to list the available templates.

@alecperkins
Copy link
Member

Goes hand-in-hand with #18, a proper remote-project management scheme.

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

No branches or pull requests

2 participants