Skip to content

Instantly share code, notes, and snippets.

@jeanmachuca
Last active December 5, 2021 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeanmachuca/abdb49fbe2790eb65d7a31b87843ef94 to your computer and use it in GitHub Desktop.
Save jeanmachuca/abdb49fbe2790eb65d7a31b87843ef94 to your computer and use it in GitHub Desktop.
Generate a QCObjects New App with Bash
# Usage:
# ./createapp.sh myappname
#
app=$1
mkdir $app && cd $app
# get the command line parameter to set the name to the app to generate (simulating press ENTER to the git repo answer)
echo -ne '\n' | qcobjects create $app
# download official gitignore file
curl -lL https://raw.githubusercontent.com/QuickCorp/qcobjects-new-app/master/.gitignore > .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment