Goffi,
@Goffi@mastodon.social avatar

@debacle @blake yes can! It's explained at https://libervia.org/__b/doc/backend/libervia-cli/ad-hoc.html . Basically you can run a command with li ad-hoc run --verbose to check the name of the fields, then use -S to submit them.

For instance to send an announcement for servers supporting XEP-0133:

li ad-hoc run "<http://jabber.org/protocol/admin#announce>" -f subject "Maintenance in 30 min" -f announcement "$(&lt;~/announces/maintenance_30.txt)" -S

Check the doc linked above, it's explained there. Ask me if you have questions.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • tacticalgear
  • DreamBathrooms
  • cisconetworking
  • magazineikmin
  • InstantRegret
  • Durango
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • mdbf
  • khanakhh
  • kavyap
  • everett
  • provamag3
  • modclub
  • Leos
  • cubers
  • ngwrru68w68
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • anitta
  • megavids
  • normalnudes
  • tester
  • JUstTest
  • lostlight
  • All magazines