DUNE-RPC(1)

πŸ’– DUNE-RPC(1) πŸ’–

okay bestie, welcome to dune-rpc β€” it's Dune's RPC mechanism. she's experimental. yes, that's the manual name right there in the title, we're not doing the boring header line, we're doing vibes. πŸ¦‹


✨ NAME ✨

dune-rpc β€” Dune's RPC mechanism. Experimental. πŸ§ͺ


✨ SYNOPSIS ✨

dune rpc COMMAND …

✨ DESCRIPTION ✨

so like. this is experimental. do not use. πŸ’€

that's it. that's the description. the authors literally said it in lowercase and everything. bestie, do NOT. πŸ™ˆ


✨ COMMANDS ✨

  • build [OPTION]… [TARGET]… β€” build a given target. lowkey important: it requires dune to be running in passive watching mode. no passive watching mode? no build. periodt. πŸ‘‘
  • flush-file-watcher [OPTION]… β€” flushes pending file watcher notifications in a running watch server. it's giving spring cleaning for your notifications. ✨
  • ping [OPTION]… β€” pings the build server running in the current directory. and if you pass the --wait flag, the command gets to wait for a connection to the server. she's patient, she's committed, she's in her waiting era. 🫢
  • status [OPTION]… β€” shows active connections. it's the vibe check for your sockets. πŸ’…

✨ COMMON OPTIONS ✨

these options are common to all the commands, no favorites here, everyone eats. πŸ“

  • --help[=FMT] (default=auto) β€” shows this help in format FMT. and FMT must be one of auto, pager, groff or plain. with auto, the format is pager or plain whenever the TERM env var is dumb or undefined. iykyk. 🌈
  • --version β€” shows version information. iconic, short, does exactly what it says on the tin. ⭐

✨ MORE HELP ✨

use dune COMMAND --help for help on a single command. literally just add --help to the thing you're confused about, bestie. you got this. πŸ’œ


✨ EXIT STATUS ✨

dune rpc exits with:

  • 0 β€” on success. slay. πŸŽ€
  • 1 β€” if an error happened. it happens to the best of us. 😭
  • 130 β€” if it was interrupted by a signal. that's a Ctrl+C moment fr fr. πŸ’€

✨ BUGS ✨

check bug reports at https://github.com/ocaml/dune/issues β€” go tell them everything, they wanna know. πŸ›πŸ”₯


✨ SEE ALSO ✨

dune(1) β€” the main character. go read her page too. πŸ‘‘


k bye bestie!! this page is from Dune 3.24.1 β€” mwah, drink water, and remember: do NOT use the experimental thing. πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from