Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
[Proposal] A set of commands for managing add-ons #96
Spress 2.2.0 will has a simple package manager based on Composer. Below, a list of new commands that support this proposal:
Create a new site based on theme. This is not a new command but now has more responsabilities:
Below a few examples:
and this time using a concrete version:
In short: this is equivalent to create a blank site with a
Create a new theme that could be based on another one preexists.
new:theme [--prefer-source] [--dev] [--no-scripts] [--force] [--prefer-lock] [--] [<path>] [<package>]
e.g: creating a theme based on Spresso
$ spress new:theme mysite spress/spress-theme-spresso:2.1
Creating a blank theme:
$ spress new:theme mysite
Add a new plugin or theme and resolve its dependencies. This is equivalent to run
Remove a plugin.
Get the lastest version of the site's dependencies (plugins and themes).
To update all registered plugin and themes:
$ spress update:plugin
To update only a few plugins: