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}}`