1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 03:15:22 +02:00

shortcuts: add page (#7935)

This commit is contained in:
Victoria Kruczek 2022-04-15 03:11:42 +02:00 committed by GitHub
parent 9c115e834f
commit 0b6c476d27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
pages/osx/shortcuts.md Normal file
View file

@ -0,0 +1,20 @@
# shortcuts
> Manage shortcuts from the command-line instead of the `Shortcuts` app.
> More information: <https://support.apple.com/guide/shortcuts-mac/run-shortcuts-from-the-command-line-apd455c82f02/mac>.
- Run the specified shortcut (`Count holidays`):
`shortcuts run "{{Count holidays}}"`
- Print all shortcuts:
`shortcuts list`
- Print all shortcut folders:
`shortcuts list --folders`
- Open the specified shortcut (`Count holidays`) in the Shortcuts editor:
`shortcuts view "{{Count holidays}}"`