flask-script
flask-script copied to clipboard
Flask extension to help writing external scripts for Flask applications
It would be really handy instead of requiring the flask "App" object at manager creation time, if this could be deferred until later, by using the init_app() pattern. http://flask.pocoo.org/docs/0.10/patterns/appfactories/ The...
Hello, I get the following error when trying to use IPython 5.1.0 with Flask-Script 2.0.5: ``` ImportError Traceback (most recent call last) ...\AppData\Local\Programs\Python\Python35\lib\site-packages\flask_script\commands.py in run(self, no_ipython, no_bpython) 299 # 0.10.x...
Hi, I tried to use `prompt_choices` and it wasn't working with case sensitive options. For example: ``` Which cluster? - (Cluster1): Cluster1 Which cluster? - (Cluster1): cluster1 Which cluster? -...
Hi, I use the `default_command` argument of `Manager.run` to define `runserver` as default command: `manager.run(default_command="runserver")`. It works well but it isn't possible to specify arguments for the default command. ```...
**Provided example** ``` python def gen_admin(app, **kwargs): from myweb.admin import MyAdminApp ## easiest but possibly incomplete way to copy your settings return MyAdminApp(config=app.config, **kwargs) sub_manager = Manager(gen_admin) manager = Manager(MyApp)...
I attempted to refactor my application so that commands are stored in individual modules and loaded by a function. I _thought_ this should work, but the following exceptions are being...
Hi, Someone has added an auto-reloading functionality to the python REPL (http://benplesser.com/2013/01/10/beefing-up-the-python-shell-to-build-apps-faster-and-dryer/ thanks for his work) allowing an auto-reload of the import, and even to swap already existing objects. I've...
The CHANGES file should either be removed or updated to show that there have been many releases since the last one on there
I want to achieve the following ``` @manager.command def hello(*args): print "hello", ', '.join(args) ``` and that throws `manage.py: error: too many arguments` Now I go through code and understand...
Running the below code with Flask 0.10.1 and Flask-Script 2.0.5 will result in a server starting at port 5000, though the app is explicitly configured to use port 8888. To...