Scroll to navigation

WIKI-TOOLKIT-DELETE-NODE(1p) User Contributed Perl Documentation WIKI-TOOLKIT-DELETE-NODE(1p)

NAME

wiki-toolkit-delete-node - Delete a node stored in a Wiki::Toolkit instance.

SYNOPSIS

  # Delete a node in a Wiki::Toolkit instance
  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

DESCRIPTION

Takes four mandatory arguments:

The database type. Should be one of 'postgres', 'mysql' and 'sqlite'.
The database name.
The name of the node to be deleted.
The id of the node to be deleted

four optional arguments:

The user that connects to the database. It must have permission to create and drop tables in the database.
The user's database password.
The hostname of the machine the database server is running on (omit for local databases).
The port number that the database server is expecting connections to.
The version number of the node to delete

AUTHOR

Nick Burch

COPYRIGHT

     Copyright (C) 2006 Nick Burch.  All Rights Reserved.

This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Wiki::Toolkit

2021-01-04 perl v5.32.0