The delete-migrations is a command-line app that deletes a single folder migrations or all directory migrations folder.
You can install nigeria_banks from PyPI:
for mac, linux os
$ virtualenv <virtualenv_name> #create a virtual environment
$ source <virtualenv_name>/bin/activate #activate the virtual environmentfor windows os
$ virtualenv <virtualenv_name> #create a virtual environment
$ <virtualenv_name>\Scripts\activate #activate the virtual environment $ pip install delete-migrations #install the delete-migrations package- create a file "find.py" on the root directory of your project
- import the delete-migrations command-line app in the "find.py" file from the module below
from delete_migration_roosevelt import management
- save the "find.py"
find usage commands
$ python find.py #for mac, linux$ py find.py #for windowsusing the help command
$ python find.py --help #for mac, linux$ py find.py --help #for windowsusing the help command abbreviated
$ python find.py -h #for mac, linux$ py find.py -h #for windowsusing the <all> directory help command
$ python find.py all -h #for mac, linux$ py find.py all -h #for windowsusing the "<dir_name" directory help command
$ python find.py dir_name -h #for mac, linux$ py find.py dir_name -h #for windowssearch and delete folders migrations
$ python find.py --delete all #for mac, linux$ py find.py --delete all #for windowssearch and delete folders migrations abbreviated
$ python find.py -d all #for mac, linux$ py find.py -d all #for windowssearch and delete single folder migrations
$ python find.py --delete <name-of-folder> #for mac, linux$ py find.py --delete <name-of-folder> #for windowssearch and delete single folder migrations abbreviated
$ python find.py -d <name-of-folder> #for mac, linux$ py find.py -d <name-of-folder> #for windowsget the current version of the command-line library
$ python find.py --version #for mac, linux$ py find.py --version #for windowsget the current version of the command-line library abbreviated
$ python find.py -v #for mac, linux$ py find.py -v #for windows