OBUS-GEN-CLIENT(1)

πŸ’– OBUS-GEN-CLIENT(1) πŸ’–

okay bestie, welcome to the General Commands Manual section 1, and yes this whole page is about obus-gen-client β€” no cap 🫢


✨ NAME ✨

obus-gen-client β€” generate client-side ocaml bindings from D-Bus introspection files πŸ’…


🌸 SYNOPSIS 🌸

obus-gen-client [ options ] input-file

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: obus-gen-client takes D-Bus introspection files and generates an ocaml module out of them. slay. ✨

that generated module is literally packed with functions so you can send method calls, receive signals, and read/write properties. it's giving everything you need fr fr.

one tiny thing though β€” it depends on the interface module generated with obus-gen-interface. so like, do that first, bestie. they're a duo. 🫢

and hmm, important: the module generated by obus-gen-client is meant to be edited. like, that's the point. it's a starting point, not a museum piece. go in there and make it yours. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -o output-prefix β€” use this name as the output prefix. by default it's the input file name with the extension stripped off, plus "_client" tacked on the end. so say your input file is "foo.xml" (or "foo.obus"), then obus-gen-client will generate "foo_client.ml" and "foo_client.mli". cute, right? πŸŽ€
  • -keep-common β€” keeps common interfaces, meaning all interfaces starting with "org.freedesktop.DBus". by default they get dropped. so if you want them, you gotta ask nicely with this flag. 🌈
  • -help or --help β€” display a short usage summary and exit. the classic. the icon. 🧚

⭐ AUTHOR ⭐

JΓ©rΓ©mie Dimino <jeremie@dimino.org>


πŸ’œ SEE ALSO πŸ’œ

obus-introspect(1), obus-gen-interface(1), obus-gen-server(1)


okay that's the whole page bestie, go forth and generate 🌸✨

mwah πŸ’‹ β€” April 2010, and this lil manual is living under the OBUS-GEN-CLIENT(1) glow-up, periodt.