gohoyer Posted January 30, 2022 Share Posted January 30, 2022 (edited) Alfred Cheat.sh Access your favourite cheat sheets from cheat.sh directly from Alfred. Usage The main workflow is accessd throught the keyword cht: The selected cheat sheet will be copied to your clipboard. On the first usage, the workflow will ask you to update the avaliable cheat sheets because it compiles a lista of avaliable items and caches it on the Work Flow Data folder for faster results. At anytime you could update the list throught the menu update cheats: Requirements This workflow require you to have jq avaliable on your system. To check if they're avaliable on your system open a terminal and type: which jq The expected result is similar to: /usr/local/bin/jq Limitations The main workflow doesn't support cheat sheets for programming languages or special pages like :help from cheat.sh (mainly because of the huge ammount of things that must be escaped to properly load as json). If you want to acccess this type of content you could use the fcht keyword and it will print the full cheat sheet on your terminal instead. Download Check the releases page to download it. Edited February 3, 2022 by gohoyer Alan He and cands 1 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now