From c9b1db8221adacf90708628656e91bf9b235c211 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Mon, 11 Jan 2021 21:27:42 +0100 Subject: [PATCH] fxsdk: remove the WIP command-line interface The fxSDK will no longer specify the final values for these parameters, leaving them to the user in CMakeLists.txt or project.cfg, as reasonable defaults are good enough. --- fxsdk/fxsdk.sh | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/fxsdk/fxsdk.sh b/fxsdk/fxsdk.sh index 76e281c..47fa450 100755 --- a/fxsdk/fxsdk.sh +++ b/fxsdk/fxsdk.sh @@ -49,10 +49,6 @@ Project update: EOF ) -# Project creation flags -# -n , --name= Project name -# -@ , --internal= Internal project name - usage() { echo "$usage_string" exit ${1:-1} @@ -70,30 +66,6 @@ status() { echo -e "\e[0m\n" } -# TODO: Finish this interface -fxsdk_new_project_cli() { - internal= - - while [[ "$@" ]]; do - case "$1" in - -h|--help|-\?) - usage 0;; - - -@|--internal) - [[ -z "$2" ]] && error "$1 requires an argument" && return 1 - internal="$2" - shift;; - - --internal=*) - internal="${1#*=}";; - esac - - shift - done - - echo "internal=$internal" -} - fxsdk_new_project_interactive() { [[ -z "$1" ]] && error "please specify the project folder" && return 1 [[ -e "$1" ]] && error "'$1' exists, I don't dare touch it" && return 1