woob contentedit

Console application able to manage and edit content on supported collaborative websites like wikis.

It supports the following websites:

Get woob contentedit

This application is part of woob. To install it, please read this page.

Usage

You can run woob contentedit without any parameter to get an interactive prompt, or specify a command to run it directly and exit just after.

In this page we will use the interactive mode:

$ woob contentedit
Welcome to woob contentedit

Copyright(C) 2010-2021 The woob Team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.

Type "help" to display available commands.

Loaded backends:

woob contentedit>

Use the help command to see what are the available commands.

For more information about common options of console applications, read this documentation.

The first time you launch woob contentedit, it will ask you what backends you want to add and configure. You can also use the backends command to manage them, and to enable only specific backends.

Edit a content

Usage:

contentedit> edit ID1 [ID2 ...]

For example, with Redmine:

contentedit> edit wiki/woob/ContentEdit wiki/woob/Woob wiki/woob/Applications

Then, it opens the found contents in the editor defined in the environment variable $EDITOR (for example vim). You can do all changes, then exit it.

It displays all changed pages, and prompts you for an optional commit message. Then, if you confirm, it pushes all changes:

Contents changed:
 * wiki/woob/ContentEdit
 * wiki/woob/Applications
Enter a commit message: add contentedit
Do you want to push? (Y/n): y
Pushing wiki/woob/ContentEdit... done
Pushing wiki/woob/Applications... done