OCTO_TOOL(1)

πŸ“¦ version 1.0.6, in ubuntu jammy

πŸ’– OCTO_TOOL πŸ’–

okay bestie, listen β€” this is octo_tool, a User Contributed Perl Documentation situation, and it's genuinely the little multitool of the Octopussy world πŸ™βœ¨. It does a bunch of simple tasks for you and honestly? it ate. no cap. let's get into it 🫢


✨ NAME ✨

octo_tool β€” the Octopussy tool that does simple tasks πŸ’…


🌸 DESCRIPTION 🌸

so here's the whole menu of tasks this icon can run for you, and yes every single one is listed, we are NOT skipping any πŸ‘‘

  • octo_tool backup β€” Backups Octopussy configuration πŸ’Ύ
  • octo_tool cache_clear β€” Clears Cache (msgid_stats or taxonomy_stats) 🧹
  • octo_tool message_copy β€” Copies Message from a Service to another Service πŸ“‹
  • octo_tool message_move β€” Moves Message from a Service to another Service 🚚
  • octo_tool service_clone β€” Clones a Service πŸ‘―
  • octo_tool table_clone β€” Clones a Table πŸͺ‘

it's giving "one script, six superpowers" and I'm obsessed fr fr πŸ˜­πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

here's exactly how you call it, character for character, no edits from me πŸŽ€

octo_tool <task> [options]

octo_tool backup <filename>

octo_tool cache_clear msgid_stats|taxonomy_stats

octo_tool message_copy <msgid_src> <msg_dst>

octo_tool message_move <msgid_src> <msg_dst>

octo_tool service_clone <servicename> <cloned_servicename>

octo_tool table_clone <tablename> <cloned_tablename>

the way that general shape is <task> plus [options] and then every task has its own lil signature… so clean, so structured, main character energy for real ⭐


πŸ’… OPTIONS πŸ’…

only two, but they're essential, lowkey the whole vibe check:

  • -h, --help β€” Prints this help. πŸ“– when you're lost, this is your bestie.
  • -v, --version β€” Prints version. 🏷️ so you know exactly which icon you're talking to.

πŸ”₯ FUNCTIONS πŸ”₯

🌈 Usage($msg)

Prints Script Usage πŸ“’

🌈 Backup($filename)

Backups Octopussy configuration πŸ’Ύ

🌈 Cache_Clear($cache_name)

Clears Cache 'msgid_stats' or 'taxonomy_stats' 🧹✨

🌈 Message_Copy($msgid_src, $msgid_dst)

Copies Message 'msgid_src' to Message 'msgid_dst' πŸ“‹

🌈 Message_Move($msgid_src, $msgid_dst)

Moves Message 'msgid_src' to Message 'msgid_dst' 🚚

🌈 Service_Clone($service_orig, $service_clone)

Clones Service '$service_orig' in '$service_clone' πŸ‘―β™€οΈ

🌈 Table_Clone($table_orig, $table_clone)

Clones Table '$table_orig' in '$table_clone' πŸͺ‘πŸ’–


heads up bestie: cache_clear only knows two cache names β€” msgid_stats and taxonomy_stats β€” so don't go inventing a third one, the tool will simply not be moved πŸ™ˆ

and that's the whole page, bestie!! go forth and clone, copy, move, back up, and clear that cache like the icon you are πŸ‘‘πŸ’œ

this lil legend lives in the User Contributed Perl Documentation corner of the manual world, running on perl v5.22.2, dated 2016-05-04 β€” yeah she's a 2016 girlie and she still serves πŸŽ€βœ¨ mwah, bye!! πŸ’–

πŸ“¦ where this page comes from