WATCHGOD(1)
π 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 to0,1(default) or2. Pick your yap level:1is 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
- debian bookworm: python3-watchgod 0.8.2-2 Β· MIT
- ubuntu jammy: python3-watchgod 0.7-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms