mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
sdef, xml2man: add page (#7927)
This commit is contained in:
parent
9ac1ffd5ca
commit
0bc72f5496
2 changed files with 24 additions and 0 deletions
8
pages/osx/sdef.md
Normal file
8
pages/osx/sdef.md
Normal file
|
@ -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}}`
|
16
pages/osx/xml2man.md
Normal file
16
pages/osx/xml2man.md
Normal file
|
@ -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…
Add table
Reference in a new issue