Created
April 13, 2019 21:18
-
-
Save JaxxArmstrong/4db9caddd56591090e9741572a7f5c79 to your computer and use it in GitHub Desktop.
VScode Bash script header template
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
"Bash script header template": { | |
"prefix": "bashhead", | |
"body": [ | |
"#!/usr/bin/env bash", | |
"#", | |
"# Desc: ${1:description}", | |
"#", | |
"# Version: ${2:versionNumber}", | |
"#", | |
"# Usage: ${3:ScriptName} [${4:options}] ${5:args}", | |
"#", | |
"# Options:", | |
"# -h, --help Display this message.", | |
"# -n Dry-run; only show what would be done.", | |
"#", | |
"# Author: ${6:author}", | |
"# Created: ${7:creationDate}", | |
"# Github: ${8:github}", | |
"# Website: ${8:website}", | |
"# Email: ${10:email}", | |
"# Twitter: ${11:twitter}", | |
"#", | |
"# License: See LICENSE file.", | |
"#", | |
"", | |
"${12:your code here}", | |
"" | |
], | |
"description": "Bash script header template" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment