From 0bc72f549695d557ccf1f659f45321687f65fd71 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 27 Mar 2022 23:49:38 +0200 Subject: [PATCH] sdef, xml2man: add page (#7927) --- pages/osx/sdef.md | 8 ++++++++ pages/osx/xml2man.md | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 pages/osx/sdef.md create mode 100644 pages/osx/xml2man.md diff --git a/pages/osx/sdef.md b/pages/osx/sdef.md new file mode 100644 index 000000000..b7f7c53d3 --- /dev/null +++ b/pages/osx/sdef.md @@ -0,0 +1,8 @@ +# sdef + +> Get or generate a scripting definitions (`sdef`) file from a scriptable application. +> More information: . + +- Print the scripting definitions of the given application: + +`sdef {{/Applications/XCode.app}}` diff --git a/pages/osx/xml2man.md b/pages/osx/xml2man.md new file mode 100644 index 000000000..fb1439b63 --- /dev/null +++ b/pages/osx/xml2man.md @@ -0,0 +1,16 @@ +# xml2man + +> Compile MPGL to mdoc. +> More information: . + +- Compile an MPGL file to a viewable man page: + +`xml2man {{path/to/command.mxml}}` + +- Compile an MPGL file to a specific output file: + +`xml2man {{path/to/service.mxml}} {{path/to/service.7}}` + +- Compile an MPGL file to a specific output file, overwriting if it already exists: + +`xml2man -f {{path/to/function.mxml}} {{path/to/function.3}}`