Files
cheatsheet-tldr/tldr/osx/shortcuts

27 lines
594 B
Plaintext

---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# shortcuts
> Manage shortcuts.
> Note: you can also use 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}}"`