WIKI-TO...TE-NODE(1p)

πŸ‘‘ WIKI-TO...TE-NODE(1p) β€” wiki-toolkit-delete-node πŸ’…

okay bestie, welcome to the wiki-toolkit-delete-node page, section 1p, straight out of the User Contributed Perl Documentation pile. she's a little script that does one thing and does it iconically: deletes a node that lives inside a Wiki::Toolkit instance. no cap, that's the whole job. πŸ—‘οΈβœ¨


🌸 SYNOPSIS 🌸

here's the vibe. two ways to point at the node you want gone:

# 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

see? you either name the node, or you hit it with an id + version combo. either way she's gonna eat. 😌


✨ DESCRIPTION ✨

she takes four mandatory arguments. mandatory means mandatory, bestie, no skipping:

  • type β€” the database type. it should be one of 'postgres', 'mysql' and 'sqlite'. pick your fighter. πŸ₯Š
  • name β€” the database name.
  • nodename β€” the name of the node to be deleted.
  • id β€” the id of the node to be deleted.

and then four optional arguments:

  • user β€” the user that connects to the database. heads up: it must have permission to create and drop tables in the database. like, that's not a suggestion, that's the requirement. πŸ”‘
  • pass β€” the user's database password. keep it secret, keep it safe. 🀫
  • 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.
lowkey the text says four optional arguments and then lists five, and we are simply respecting her choices. the version one is right there. we move. πŸ’€

πŸŽ€ AUTHOR πŸŽ€

Nick Burch. king behavior, honestly. πŸ‘‘


     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. so go off, legally. 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

  • Wiki::Toolkit

and that's the whole page, bestie!! 🌈 this icon of a manual was brought to you by perl v5.32.0, dated 2021-01-04, and the title line up top β€” WIKI-TO...TE-NODE(1p), User Contributed Perl Documentation β€” is literally just her name tag. mwah. πŸ’…πŸ’œ

πŸ“¦ where this page comes from