irongit

a bin full of cool programs

'drfendpoint -p'

huncholanehuncholaneauthored
parent cfa2b79commit f448ac21f59f6254735fd9c3b9b5f59f1a4d97cfBrowse files

1 file changed, +10 -0

+10-0bin/drfendpoint
@@ -0,0 +1,10 @@
1+#!/bin/bash
2+start_dir=$(pwd)
3+mkdir -p "$1"
4+cd "$1"
5+touch views.py urls.py serializers.py __init__.py models.py
6+mkdir tests
7+cd tests
8+mkdir uploads responses
9+touch tests.py __init__.py
10+cd "$start_dir"