added script to boot windows
This commit is contained in:
@@ -5,9 +5,9 @@ PROJECTS_DIR="$HOME/projects"
|
||||
|
||||
# Function to print usage
|
||||
print_usage() {
|
||||
echo "Usage: $0 [-n] <project_name>"
|
||||
echo "Usage: $0 [-c] <project_name>"
|
||||
echo "Options:"
|
||||
echo " -n Create a new project directory if it does not exist"
|
||||
echo " -c Create a new project directory if it does not exist"
|
||||
}
|
||||
|
||||
# Check if at least one argument is provided
|
||||
@@ -21,9 +21,9 @@ CREATE_NEW=false
|
||||
PROJECT_NAME=""
|
||||
|
||||
# Parse options
|
||||
while getopts ":n" opt; do
|
||||
while getopts ":c" opt; do
|
||||
case $opt in
|
||||
n)
|
||||
c)
|
||||
CREATE_NEW=true
|
||||
;;
|
||||
\?)
|
||||
|
||||
Reference in New Issue
Block a user