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.
This commit is contained in:
parent
42f2b5c175
commit
c9b1db8221
|
@ -49,10 +49,6 @@ Project update:
|
|||
EOF
|
||||
)
|
||||
|
||||
# Project creation flags
|
||||
# -n <name>, --name=<name> Project name
|
||||
# -@ <name>, --internal=<name> 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
|
||||
|
|
Loading…
Reference in New Issue