wiki-toolkit-delete-node(1p)

wiki-toolkit-delete-node1p

Delete a node stored in a wiki::toolkit instance.

Usage

wiki-toolkit-delete-node --type postgres --name mywiki \ --user wiki \ --pass wiki \ --host 'db.example.com' \ --port 1234 \ --nodename MyNodeName

wiki-toolkit-delete-node --type postgres --name mywiki \ --user wiki \ --pass wiki \ --host 'db.example.com' \ --port 1234 \ --id 2 \ --version 7

Overview

Takes four mandatory arguments:

type

The database type. Should be one of 'postgres', 'mysql' and 'sqlite'.

name

The database name.

nodename

The name of the node to be deleted.

id

The id of the node to be deleted

four optional arguments:

user

The user that connects to the database. It must have permission to create and drop tables in the database.

pass

The user's database password.

host

The hostname of the machine the database server is running on (omit for local databases).

port

The port number that the database server is expecting connections to.

version

The version number of the node to delete

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9–10
  6. 11–13

Author

Nick Burch

From libwiki-toolkit-perl 0.86-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.