mirror of https://github.com/CrimsonTome/tldr.git
sdef, xml2man: add page (#7927)
parent
9ac1ffd5ca
commit
0bc72f5496
|
@ -0,0 +1,8 @@
|
|||
# sdef
|
||||
|
||||
> Get or generate a scripting definitions (`sdef`) file from a scriptable application.
|
||||
> More information: <https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_creating_sdef/SAppsCreateSdef.html>.
|
||||
|
||||
- Print the scripting definitions of the given application:
|
||||
|
||||
`sdef {{/Applications/XCode.app}}`
|
|
@ -0,0 +1,16 @@
|
|||
# xml2man
|
||||
|
||||
> Compile MPGL to mdoc.
|
||||
> More information: <https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/HeaderDoc/mpgl/mpgl.html>.
|
||||
|
||||
- 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}}`
|
Loading…
Reference in New Issue