Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JaxxArmstrong/4db9caddd56591090e9741572a7f5c79 to your computer and use it in GitHub Desktop.
Save JaxxArmstrong/4db9caddd56591090e9741572a7f5c79 to your computer and use it in GitHub Desktop.
VScode Bash script header template
"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