DLV-REDIRECT(1)
π dlv-redirect β a.k.a. the "where do your outputs GO" era π
okay bestie, this is a General Commands Manual page for the dlv-redirect command, and it's literally just the help page about file redirection. yes, the whole thing. it's giving "small but mighty." π
β¨ NAME β¨
dlv-redirect β help about file redirection. that's it. that's the assignment. π
π¦ SYNOPSIS π¦
dlv redirect [flags]
πΈ DESCRIPTION πΈ
so here's the tea: the standard file descriptors of the target process can be controlled using the -r and --tty arguments. yes, both. they're a duo. π
the --tty argument lets you redirect all standard descriptors to a terminal β and you specify that terminal as an argument to --tty. cute, right?
now, the syntax for the -r argument is:
-r [source:]destination
where source is one of stdin, stdout or stderr, and destination is the path to a file. and bestie, listen: if you omit the source, stdin is used implicitly. it just assumes. default behavior energy. π
also!! file redirects can be changed using the restart command. so if you messed up your redirects, you're not stuck, you can pivot. main character flexibility. β¨
π OPTIONS π
-h,--help[=false]β help for redirect. the classic. the icon. press it when you're lost (no shame).
π OPTIONS INHERITED FROM PARENT COMMANDS π
these came from the parent command, they're not even redirect's own kids, but they show up anyway. nepotism? no, just cobra. π
--accept-multiclient[=false]β Allows a headless server to accept multiple client connections via JSON-RPC or DAP.--allow-non-terminal-interactive[=false]β Allows interactive sessions of Delve that don't have a terminal as stdin, stdout and stderr--api-version=2β Selects JSON-RPC API version when headless. The only valid value is2. Can be reset viaRPCServer.SetApiVersion. SeeDocumentation/api/json-rpc/README.md.--backend="default"β Backend selection (see'dlv help backend').--build-flags=""β Build flags, to be passed to the compiler. For example:--build-flags="-tags=integration -mod=vendor -cover -v"--check-go-version[=true]β Exits if the version of Go in use is not compatible (too old or too new) with the version of Delve.--disable-aslr[=false]β Disables address space randomization--headless[=false]β Run debug server only, in headless mode. Server will accept both JSON-RPC or DAP client connections.--init=""β Init file, executed by the terminal client.-l,--listen="127.0.0.1:0"β Debugging server listen address. Prefix with'unix:'to use a unix domain socket.--log[=false]β Enable debugging server logging.--log-dest=""β Writes logs to the specified file or file descriptor (see'dlv help log').--log-output=""β Comma separated list of components that should produce debug output (see'dlv help log')--only-same-user[=true]β Only connections from the same user that started this instance of Delve are allowed to connect.-r,--redirect=[]β Specifies redirect rules for target process (see'dlv help redirect')--wd=""β Working directory for running the program.
not me realizing--only-same-userdefaults totrueβ yes bestie, that's the safe default, don't come for me π
π₯ SEE ALSO π₯
dlv(1)β go say hi to the parent, they raised a whole family π«Ά
and that's the whole page, no cap. it was Auto generated by spf13/cobra, and it's dated Aug 2026 at the bottom of the original, so consider this your signature: cobra wrote it, the calendar says Aug 2026, and i just made it cute. periodt. πβ¨π
π¦ where this page comes from
- ubuntu stonking: delve 1.27.1-4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms