About Wire Tasks

A set of command line tools for the Processwire CMS. This is a very early work in progress / proof of concept for a little suite of tools to aid with the development of Processwire sites.

Category Proof of Concept
Proof of concept modules are designed as examples or starting points for others to build from. May not be ideal for users wanting to plug-n-play.
Release StateBeta
Close to stable, but users are advised to be cautious and test thoroughly.*
Authoralmonk
Module Version1.0.0
Class NameWireTasks
Compatibility2.0, 2.1
Date AddedJuly 26, 2012
Last UpdatedJuly 25, 2012
Recommended ByNew recommendations may take up to 1 day to appear.

Details

May also have ProcessWire 2.2 compatibility (untested)

Installation

Clone this repo into your processwire root (where the index.php is) cd into it (e.g. cd tasks)

From here you can now run the task scripts, (e.g. php install)

Current methods

install Makes the assets & config.php file writeable

sessions empty Empties the sessions directory

cache empty Empties the cache

sitemap Outputs the sitemap with ids and paths

fields Same as above but lists all the fields used per page

sitemappaths Outputs the sitemap as a list of slugs

setup Creates the folders needed for PW to run within assets. If you get weird 503 errors when installing/moving PW, then try running this command.

Instructions

This module's files should be placed in /site/modules/WireTasks/
How to install or uninstall modules

README

Wire tasks

A command line interface to the Processwire CMS

This is a very early work in progress / proof of concept for a little suite of tools to aid with the development of Processwire sites.

Installation

  • Clone this repo into your processwire root (where the index.php is)
  • cd into it (e.g. cd tasks)
  • From here you can now run the task scripts, (e.g. php install)

Current methods

install Makes the assets & config.php file writeable

sessions empty Empties the sessions directory

cache empty Empties the cache

sitemap Outputs the sitemap with ids and paths

fields Same as above but lists all the fields used per page

sitemappaths Outputs the sitemap as a list of slugs

setup Creates the folders needed for PW to run within assets. If you get weird 503 errors when installing/moving PW, then try running this command.