pressbooks / pb-cli Goto Github PK
View Code? Open in Web Editor NEWA suite of wp-cli commands for Pressbooks.
Home Page: https://cli.pressbooks.org/
License: GNU General Public License v3.0
A suite of wp-cli commands for Pressbooks.
Home Page: https://cli.pressbooks.org/
License: GNU General Public License v3.0
Add new GitHub actions theme template: https://github.com/pressbooks/snippets/blob/master/github-actions/pb_theme_template.yml to our scaffold book theme: https://github.com/pressbooks/pb-cli/tree/dev/templates/scaffold-book-theme/.github
Create a command which creates a user and makes them a 'restricted' super admin (i.e. network manager) or gives an existing user the restricted super admin capacity.
That would be nice.
For themes or plugins.
$ wp pb clone <source> <destination>
Where <source>
is a URL and <destination>
is a book slug on the current network.
Maybe to do with event streams/generators?
Now that WP CLI's i18n
package supports blade, we can remove this.
What went well, and what could be improved? Any documentation changes you'd suggest?
As part of the standardization process we want to make PB PSR compatible, this effort was in the radar before (pressbooks/pressbooks#271).
This task should include
Thinking:
wp pb theme lock
— locks theme if not already locked
wp pb theme unlock
— unlocks theme if locked
Both of these should tell the user that they can’t lock the theme if it’s (deprecated) Custom CSS.
As of Pressbooks 3.9.7, we will have separated the titles
partial into pages
and section-titles
.
See https://discourse.pressbooks.org/t/github-different-templates-for-different-issues/580
Props @colomet for the idea.
When I try to run composer install
in a theme that was created via wp scaffold book-theme myTheme
, I get a "does not contain valid JSON" error back. I think this is because there's a missing comma on line 13. ;)
Command to scaffold a Pressbooks theme.
/features
In the case that we know a network wants/needs fonts, would be nice to run a command to load fonts to pre-download typefaces/fonts so they're available.
Create a PB-cli command to scaffold a new plugin for Pressbooks. Should be similar to the create theme command: https://github.com/pressbooks/pb-cli#wp-scaffold-book-theme and should include the sample GitHub action template: https://github.com/pressbooks/snippets/blob/master/github-actions/pb_theme_template.yml. See https://github.com/pressbooks/pressbooks-plugin-scaffold as previous exemplar.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.