Anonymous avatar Anonymous committed 21e77c4

doc fixes

Comments (0)

Files changed (1)

flaskext/script.py

     def run(self):
 
         """
-        Runs a command. This must be implemented by the subclass. The first
-        argument is always the app (Flask instance) followed by arguments
-        as configured by the Command options.
+        Runs a command. This must be implemented by the subclass. Should take
+        arguments as configured by the Command options.
         """
 
         raise NotImplementedError
 
     :param banner: banner appearing at top of shell when started
     :param make_context: a callable returning a dict of variables 
-                         used in the shell namespace. The callable 
-                         takes a single argument, "app", the Flask 
-                         instance. By default returns a dict consisting
-                         of just the app.
+                         used in the shell namespace. By default 
+                         returns a dict consisting of just the app.
     :param use_ipython: use IPython shell if available, ignore if not. 
                         The IPython shell can be turned off in command 
                         line by passing the **--no-ipython** flag.
         """
         Adds a command function to the registry.
         
-        :param func: command function. Should take at least one argument, the 
-                     Flask application. Additional arguments depend on the 
+        :param func: command function.Arguments depend on the 
                      options.
         
         """
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.