WATCHGOD(1)

πŸ“¦ version 0.8.2, in debian bookworm, ubuntu jammy

πŸ’– WATCHGOD(1) β€” like, the General Commands Manual one πŸŽ€

okay bestie, sit down, hydrate, and let me tell you about daphne (the page is filed under WATCHGOD(1), don't ask, it's giving rebrand energy πŸ’…).


✨ NAME ✨

daphne β€” watch a directory and execute a python function on changes πŸ¦‹


🌸 SYNOPSIS 🌸

daphne [--help]  [--verbosity LEVEL]  [function]  [path]  [--args ARGUMENTS]

πŸ’œ DESCRIPTION πŸ’œ

So. This manual page documents, briefly, the daphne command. Short and sweet, we love a concise queen.

This manual page was written for the Debian distribution, because the original program does not have a manual page. (Not me writing the docs nobody else wrote 😭 that's main character energy fr fr.)

daphne is a program that watches a directory and executes a python function on changes. That's it, that's the whole vibe β€” change happens, function runs, slay. ✨


πŸ”₯ OPTIONS πŸ”₯

This program follows the usual GNU command line syntax, with long options starting with two dashes (`-`). A summary of options is included below, because we would never gatekeep.

  • --help β€” shows the help message and exits. The classic. The icon. πŸ‘‘
  • --verbosity LEVEL β€” sets the output verbosity level to 0, 1 (default) or 2. Pick your yap level: 1 is the default, no cap.
  • -a ARGUMENTS, --args ARGUMENTS β€” arguments for the argparser inside the executed function. Example: module.func path --args --inner arg -v. Yeah, it's nesting, it's a whole thing, but it works. πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • function β€” path to the python function to execute. This is the one doing the work bestie.
  • path β€” filesystem path to watch. It defaults to the current directory, so if you're lazy (valid), it just watches wherever you're standing. 🫢

⭐ AUTHOR ⭐

This manual page was written by fladi fladi@debian.org for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. Go read it, it's literally right there. πŸ“–


lowkey remember: this page is short on purpose, it's a brief overview of daphne. The function does the heavy lifting, we just vibe-check the directory. 🌈

and that's the whole page, bestie β€” WATCHGOD(1) from the General Commands Manual, and yes it really is named WATCHGOD while the command is daphne, iconic chaotic naming, we stan πŸ§šπŸ’–

πŸ“¦ where this page comes from