#
CommandPost
CommandPost is made up of two seperate components:
- CommandPost-App contains the Hammerspoon fork which makes up the main application.
- CommandPost contains all the Lua scripts that drive the interface and feature set.
Essentially, we're using Hammerspoon as an "engine" to drive our Lua-based application - which is contained with the CommandPost repository.
The CommandPost src directory contains three folders:
extensionscontains all the third party extensions used by CommandPost (such asi18nandresty), and well as the maincpcode.pluginscontains all the bundled plugins that drive the CommandPost menubar and shortcut manager, as well as all the core and Final Cut Pro featuressetupis used by CommandPost-App. When building CommandPost-App thesetup.luafile in the CommandPost repository replaces theHammerspoon/setup.luafile in CommandPost-App.
If there's a 3rd party extension that you need for development, you can add it to the extensions folder.
If you want to make new features for CommandPost, you can build them as a plugin and store them in the plugins folder.
If you have any questions about this, feel free to submit an issue.