guarinogabriel / Mac-CLI

 macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge set of command line commands that automatize the usage of your Mac.
MIT License
8.86k stars 334 forks source link

Adding plugin #194

Closed LudicrousSpeed closed 11 months ago

LudicrousSpeed commented 11 months ago

To add my own plugin locally do you just add a file named after the command in '/usr/local/bin/mac-cli/plugins'?

I tried copying an existing file to a new name and this didn't appear to work.

Thanks

guarinogabriel commented 11 months ago

Hi there – I'm not sure how you have implemented the additional plugin, but you can check the following search results to see an example of how the "find:recent" command was implemented: https://github.com/search?q=repo%3Aguarinogabriel%2FMac-CLI%20find%3Arecent&type=code

Hope that helps!