Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

wplib/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPLib CLI

A command-line scaffolding tool for WPLib

Version 0.1.2

##Purpose WPLib CLI is intended to be used to generate code to be used with WPLib for fast implementations of WordPress websites that use WPLib.

##Approach WPLib CLI looks for a wplib.json file in the current directory and if found loads it and generates code that is indicated by the values in the file.

There are four (4) different types of wplib.json files, only two of which are currently implemented. You can see examples of each by clicking the links below:

Types Notes
Project See sample/wplib.json
Site See sample/www/wplib.json This is not used yet.
App See sample/www/wp-content/mu-plugins/sample-app/wplib.json
Theme See sample/www/wp-content/themes/sample-app/wplib.json This is not used yet.

##Dependencies

This project uses JSON Loader, also by the WPLib Team.

##Backward Compatibility

Since we are still in alpha phase we reserve the right to change anything about this tool and especially the format of the wlib.json file.

##Limitations

Currently this is known not to work with Windows.

##License

GPL v2.0+