Max Maischein > CGI-Wiki-Simple > simple-user-setup-sqlite

Download:
CGI-Wiki-Simple-0.12.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

simple-user-setup-sqlite - set up a wiki together with default content

SYNOPSIS ^

  # Set up or update the storage backend, leaving any existing data intact.
  # Useful for upgrading from old versions of CGI::Wiki to newer ones with
  # more backend features.

  simple-user-setup-sqlite --name mywiki.db

  # Overwrite the nodes with the default contents

  simple-user-setup-sqlite --name mywiki --clear

  # Clear out any existing data and set up a fresh backend from scratch.

  simple-user-setup-sqlite --name mywiki.db --clear

DESCRIPTION ^

Takes one mandatory argument:

name

The name of the file to store the SQLite database in. It will be created if it doesn't already exist.

and up to two optional flags:

clear

Wipes out all preexisting data within your wiki. This is great while you are testing and playing around, and fatal unless you have good backups.

force

Overwrites already existing nodes with the content from this file. This is still great while you are playing around and not totally fatal, but good backups are still advisable.

AUTHOR ^

Max Maischein (corion@cpan.org)

COPYRIGHT ^

     Copyright (C) 2003 Max Maischein.  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 ^

CGI::Wiki::Simple

syntax highlighting: