mirror of
https://github.com/casjaysdevdocker/code
synced 2025-01-18 12:34:29 -05:00
27 lines
1.0 KiB
Bash
Executable File
27 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# shellcheck shell=bash
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
##@Version : 202210162304-git
|
|
# @@Author : Jason Hempstead
|
|
# @@Contact : jason@casjaysdev.com
|
|
# @@License : WTFPL
|
|
# @@ReadME : start-code --help
|
|
# @@Copyright : Copyright: (c) 2022 Jason Hempstead, Casjays Developments
|
|
# @@Created : Sunday, Oct 16, 2022 23:04 EDT
|
|
# @@File : start-code
|
|
# @@Description :
|
|
# @@Changelog : New script
|
|
# @@TODO : Better documentation
|
|
# @@Other :
|
|
# @@Resource :
|
|
# @@Terminal App : no
|
|
# @@sudo/root : no
|
|
# @@Template : other/start-service
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
[ "$1" = "" ] && shift 1
|
|
[ "$1" = " " ] && shift 1
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
WORK_DIR="${1:-/data}"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
code -wn "$WORK_DIR"
|