-
-
Save slovenianGooner/e2666faf04f164674d7470dae109f4b7 to your computer and use it in GitHub Desktop.
Example Fig spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var completionSpec = { | |
name: "+", | |
description: "A set of aliases for everyday use.", | |
subcommands: [ | |
{ | |
name: "Download From Production", | |
description: | |
"Download the latest database dump and storage files from production.", | |
insertValue: "\b\b./download.sh\n", | |
}, | |
{ | |
name: "Compile & Push", | |
description: "Run 'npm run prod' and push to production.", | |
insertValue: | |
'\b\bnpm run prod; git add .; git commit -m "{cursor}"; git push origin HEAD', | |
}, | |
{ | |
name: "Push", | |
description: "Push to production.", | |
insertValue: | |
'\b\bgit add .; git commit -m "{cursor}"; git push origin HEAD', | |
}, | |
{ | |
name: "SSH: Adria Mobil", | |
description: "SSH into the Adria Mobil server.", | |
insertValue: "\b\bssh forge@amserver\n", | |
}, | |
{ | |
name: "SSH: Leeloop", | |
description: "SSH into the Leeloop server.", | |
insertValue: "\b\bssh forge@leeloop\n", | |
}, | |
{ | |
name: "SSH: Gooner", | |
description: "SSH into the Gooner server.", | |
insertValue: "\b\bssh gooner@gooner\n", | |
}, | |
{ | |
name: "SSH: Pi", | |
description: "SSH into the Pi server.", | |
insertValue: "\b\bssh [email protected]\n", | |
}, | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment