Files
order/.venv/Lib/site-packages/flask/__pycache__/cli.cpython-312.pyc

288 lines
38 KiB
Plaintext
Raw Normal View History

2025-08-27 21:11:48 +08:00
<EFBFBD>
x<>g<EFBFBD>x<00><00><><00>dZddlmZddlZddlZddlZddlZddlZddlZddl Z ddl
m Z ddl m Z ddlmZddlmZddlZddlmZd d
lmZd d lmZd d lmZd d lmZd dlmZd dlmZd dlmZd dlmZ ddlZ ddl!Z!Gd<12>dejD<00>Z#d<14>Z$dkd<15>Z%d<16>Z&d<17>Z'd<18>Z(dld<1A>Z)d<1B>Z*ejVdgdde*dd<19><1F>Z,Gd <20>d!e-<2D>Z.Gd"<22>d#e-<2D>Z/ej`e/d<19>$<24>Z1d%<25>Z2Gd&<26>d'ejf<00>Z4Gd(<28>d)e4<65>Z5d*<2A>Z6dmd+<2B>Z7d,<2C>Z8Gd-<2D>d.ejr<00>Z:d/<2F>Z;Gd0<64>d1ejx<00>Z=ej|d2d3<64>4<EFBFBD>ej~d5d6d7d8<64>9<EFBFBD>ej~d:d;d<d=<3D>9<EFBFBD>ej~d>e:<3A>d?<3F>@<40>ej~dAejxddd<19>B<EFBFBD>e;ddC<64>D<EFBFBD>ej~dEddF<64>9<EFBFBD>ej~dGddH<64>9<EFBFBD>ej~dIddJ<64>9<EFBFBD>ej~dKddL<64>9<EFBFBD>ej~dMde=<3D>dNj<4E>ej<>j<><00><00>O<EFBFBD>e1dP<64><00><00><00><00><00><00><00><00><00><00><00>ZCej|dQdR<64>4<EFBFBD>e2dS<64><00><00>ZDej|dTdU<64>4<EFBFBD>ej~dVdWej<>dX<64>dYdZ<64>[<5B>ej~d\dd]<5D>^<5E>e2d_<64><00><00><00><00>ZFe5d`j<>ej<>dak(rdbndcej<>dak(rddnde<64>f<EFBFBD><00>g<EFBFBD>ZHdndh<64>ZIeJdik(r
eId<19>j<EFBFBD>yy#e $rdZY<00><02><>wxYw#e $rdZ!Y<00><02><>wxYw)oz<6F>
flask.cli
~~~~~~~~~
A simple command line application to run flask apps.
:copyright: 2010 Pallets
:license: BSD-3-Clause
<EFBFBD>)<01>print_functionN)<01>update_wrapper)<01>
attrgetter)<01>Lock)<01>Thread)<01> import_string<6E>)<01>
getargspec)<01>
itervalues)<01>reraise)<01> text_type)<01> current_app)<01>get_debug_flag)<01>get_env)<01>get_load_dotenvc<00><00>eZdZdZy)<03>NoAppExceptionz3Raised if an application cannot be found or loaded.N)<04>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F><00><00>2D:\mooc\order\.venv\Lib\site-packages\flask/cli.pyrr0s<00><00>=rrc<00><><00>ddlm}dD]}t||d<04>}t||<02>s<01>|cSt |j
<00>D<00>cgc]}t||<02>s<01>|<05><02>}}t |<06>dk(r|dSt |<06>dkDr%tdj|j<00><07><00><00>dD]B}t||d<04>}tj|<07>s<01>& t||<07>}t||<02>r|cS<00>Dtd j|j<00><07><00><00>cc}w#t$r3t|<07>s<01>td j||j<00>
<EFBFBD><00><00>wxYw) zwGiven a module instance this tries to find the best possible
application in the module or raises an exception.
r <00><01>Flask)<02>app<70> applicationNrztDetected multiple Flask applications in module "{module}". Use "FLASK_APP={module}:name" to specify the correct one.)<01>module)<02>
create_app<EFBFBD>make_appz<70>Detected factory "{factory}" in module "{module}", but could not call it without arguments. Use "FLASK_APP='{module}:{factory}(args)'" to specify arguments.)<02>factoryr znFailed to find Flask application or factory in module "{module}". Use "FLASK_APP={module}:name to specify one.)<0F>r<00>getattr<74>
isinstancer <00>__dict__<5F>lenr<00>formatr<00>inspect<63>
isfunction<EFBFBD> call_factory<72> TypeError<6F>_called_with_wrong_args)<08> script_infor r<00> attr_namer<00>v<>matches<65> app_factorys r<00> find_best_appr44sW<00><00><18>,<2C> <09><15>f<EFBFBD>i<EFBFBD><14>.<2E><03> <15>c<EFBFBD>5<EFBFBD> !<21><16>J<EFBFBD> ,<2C>%<25>V<EFBFBD>_<EFBFBD>_<EFBFBD>5<>N<>5<>Q<EFBFBD><1A>A<EFBFBD>u<EFBFBD>9M<39>q<EFBFBD>5<>G<EFBFBD>N<>
<EFBFBD>7<EFBFBD>|<7C>q<EFBFBD><18><16>q<EFBFBD>z<EFBFBD><19> <0C>W<EFBFBD><1C><01> <19><1C> <13><19>6<EFBFBD><16><1F><1F>6<EFBFBD>1<>
<EFBFBD>
<EFBFBD>0<> <09><1D>f<EFBFBD>i<EFBFBD><14>6<> <0B> <12> <1D> <1D>k<EFBFBD> *<2A> <12>"<22>;<3B> <0B><<3C><03><1D>c<EFBFBD>5<EFBFBD>)<29><1E>J<EFBFBD>*<2A>0<>& <19> 7<>7=<3D>v<EFBFBD>V<EFBFBD>_<EFBFBD>_<EFBFBD>v<EFBFBD>7U<37> <06><06><>?O<01><>*<1D> <12>.<2E>{<7B>;<3B><19>$<24>!<21>"(<28><16> <09>&<26>/<2F>/<2F><16>!R<> <12><12> <12>s<00>D <04>D <04> D<02><E c<00><><00>t|<01>}|j}|j}d|vr||d|i<01>S|r||<02>S|st|<04>dk(r
|<05>||<00>S|<01>S)z<>Takes an app factory, a ``script_info` object and optionally a tuple
of arguments. Checks for the existence of a script_info argument and calls
the app_factory depending on that and the arguments provided.
r/r )r
<00>args<67>defaultsr()r/r3<00> arguments<74> args_spec<65> arg_names<65> arg_defaultss rr,r,gsn<00><00>
<1B>;<3B>'<27>I<EFBFBD><19><0E><0E>I<EFBFBD><1C>%<25>%<25>L<EFBFBD><14> <09>!<21><1A>I<EFBFBD>?<3F>;<3B>?<3F>?<3F> <12><1A>I<EFBFBD>&<26>&<26> <16>3<EFBFBD>y<EFBFBD>><3E>Q<EFBFBD>.<2E><<3C>3G<33><1A>;<3B>'<27>'<27> <16>=<3D>rc<00><><00>tj<00>d} |<01>4|jj|jur ~y|j
}|<01><01>4 ~y#~wxYw)z<>Check whether calling a function raised a ``TypeError`` because
the call failed or because something in the factory raised the
error.
:param factory: the factory function that was called
:return: true if the call failed
<20>FT)<06>sys<79>exc_info<66>tb_frame<6D>f_code<64>__code__<5F>tb_next)r#<00>tbs rr.r.zs^<00><00>
<0A><1C><1C><1E><01> <1A>B<EFBFBD> <0F><10>n<EFBFBD><11>{<7B>{<7B>!<21>!<21>W<EFBFBD>%5<>%5<>5<><1C> <0F><14><1A><1A>B<EFBFBD> <11>n<EFBFBD><14> <0F><>B<EFBFBD>s<00>$A<00>A<00>Ac<00><><00>ddlm}tjd|<02>}|st dj |<02><05><00><00>|j <00>\}} t||<05>}tj|<07>r:|r' tjdj |<06> <09><00>}nd } t!|||<06>} n|} t)| |<03>r| St dj |j&|<02><10><00><00>#t$r}t |jd<00><00>d}~wwxYw#ttf$r!}t d
j ||<02> <0B><00><00>d}~wwxYw#t"$r8}t%|<07>s<01>t d j |||j&<00><0E><00><00>d}~wwxYw)z<>Checks if the given string is a variable name or a function. If it is a
function, it checks for specified arguments and whether it takes a
``script_info`` argument and calls the function with the appropriate
arguments.
r rz%^ *([^ ()]+) *(?:\((.*?) *,? *\))? *$z="{name}" is not a valid variable name or function expression.<2E><01>namerNz ({args},))r6z.Could not parse the arguments in "{app_name}".)<02>e<>app_namerzc{e}
The factory "{app_name}" in module "{module}" could not be called with the specified arguments.)rHrIr zFA valid Flask application was not obtained from "{module}:{app_name}".)r rI)r$r<00>re<72>matchrr)<00>groupsr%<00>AttributeErrorr6r*r+<00>ast<73> literal_eval<61>
ValueError<EFBFBD> SyntaxErrorr,r-r.rr&)
r/r rIrrKrGr6<00>attrrHrs
r<00>find_app_by_stringrS<00>s<><00><00> <18> <0E>H<EFBFBD>H<EFBFBD>=<3D>x<EFBFBD> H<>E<EFBFBD> <10><1C> <1A> <20>&<26>h<EFBFBD>&<26>/<2F>
<EFBFBD>
<EFBFBD>
<17><1C><1C><1E>J<EFBFBD>D<EFBFBD>$<24>(<28><16>v<EFBFBD>t<EFBFBD>$<24><04><0F><19><19>$<24><1F> <0F> <12><1A>'<27>'<27> <0B>(:<3A>(:<3A><04>(:<3A>(E<>F<><04><16>D<EFBFBD> <0E><1E>{<7B>D<EFBFBD>$<24>7<>C<EFBFBD><13><03><11>#<23>u<EFBFBD><1D><12>
<EFBFBD>
<18> !<21>!'<27><16>v<EFBFBD><EFBFBD><EFBFBD><18><16>!R<> <06><06><>C <1A>(<28><1C>Q<EFBFBD>V<EFBFBD>V<EFBFBD>A<EFBFBD>Y<EFBFBD>'<27>'<27><>(<28><><1F> <0B>,<2C> <12>$<24>$<24>$*<2A>F<EFBFBD>Q<EFBFBD><18>F<EFBFBD>$B<><12><12><> <12><><19> <0E>*<2A>4<EFBFBD>0<><15> <20>:<3A>:@<40>&<26><17>(<28>6<EFBFBD>?<3F>?<3F>;A<01>;<12><0E> <0E><> <0E>sH<00> C<00>2%D<00> D;<00> D<03>(D<03>D<03>D8<03>D3<03>3D8<03>; E<<03>3E7<03>7E<c<00><><00>tjj|<00>}tjj|<00>\}}|dk(r|}tjj |<00>dk(rtjj |<00>}g} tjj |<00>\}}|j|<04>tjjtjj|d<03><00>sn<01>rtjd|k7r tjjd|<00>dj|ddd<07><00>S)z<>Given a filename this will try to calculate the python path, add it
to the search path and return the actual module name that is expected.
z.py<70>__init__z __init__.pyr<00>.N<><4E><EFBFBD><EFBFBD><EFBFBD>) <0C>os<6F>path<74>realpath<74>splitext<78>basename<6D>dirname<6D>split<69>append<6E>exists<74>joinr><00>insert)rY<00>fname<6D>ext<78> module_namerGs r<00>prepare_importrf<00>s<><00><00> <0E>7<EFBFBD>7<EFBFBD> <1B> <1B>D<EFBFBD> !<21>D<EFBFBD><13><17><17>!<21>!<21>$<24>'<27>J<EFBFBD>E<EFBFBD>3<EFBFBD>
<EFBFBD>e<EFBFBD>|<7C><14><04> <09>w<EFBFBD>w<EFBFBD><17><17><04><1D><1A>+<2B><11>w<EFBFBD>w<EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>$<24><04><14>K<EFBFBD> <0F><17>W<EFBFBD>W<EFBFBD>]<5D>]<5D>4<EFBFBD>(<28>
<EFBFBD><04>d<EFBFBD><13><1A><1A>4<EFBFBD> <20><11>w<EFBFBD>w<EFBFBD>~<7E>~<7E>b<EFBFBD>g<EFBFBD>g<EFBFBD>l<EFBFBD>l<EFBFBD>4<EFBFBD><1D>?<3F>@<40> <11> <0F> <0B>x<EFBFBD>x<EFBFBD><01>{<7B>d<EFBFBD><1A> <0B><08><08><0F><0F><01>4<EFBFBD> <20> <0E>8<EFBFBD>8<EFBFBD>K<EFBFBD><04>"<22><04>%<25> &<26>&rTc<00>p<00>d} t|<01>tj|}|<02> t||<05>St|||<02>S#t$rotj<00>djr.t dj |tj<00><00><04><00><00>|rt dj |<01><06><00><00>YywxYw)NTrWz:While importing "{name}", an ImportError was raised:
{tb})rGrDzCould not import "{name}".rF) <0C>
__import__<EFBFBD> ImportErrorr>r?rCrr)<00> traceback<63>
format_exc<EFBFBD>modulesr4rS)r/rerI<00>raise_if_not_found<6E>__traceback_hide__r s r<00>
locate_appro<00>s<><00><00><1D><16> <13><12>;<3B><1F><11>[<5B>[<5B><1B> %<25>F<EFBFBD><0F><17><1C>[<5B>&<26>1<>1<>!<21>+<2B>v<EFBFBD>x<EFBFBD>@<40>@<40><>% <17> <13> <0F><<3C><<3C>><3E>"<22> <1D> %<25> %<25> <20><1B>!<21>6<EFBFBD>{<7B>y<EFBFBD>7K<37>7K<37>7M<37>6<EFBFBD>N<><0E> <0E> <20> <20>!=<3D>!D<>!D<>+<2B>!D<>!V<>W<> W<> <12> <13>s<00> =<00>A5B5<03>4B5c<00><><00>|r |jryddl}ddlm}d}t j
|t j<00>||jd<05>z|j<00><06>|j<00>y)Nrr )<01> __version__z7Python %(python)s
Flask %(flask)s
Werkzeug %(werkzeug)s)<03>python<6F>flask<73>werkzeug)<01>color)
<EFBFBD>resilient_parsingrtr$rq<00>click<63>echo<68>platform<72>python_versionru<00>exit)<06>ctx<74>param<61>valuertrq<00>messages r<00> get_versionr<6E>s`<00><00> <10>C<EFBFBD>)<29>)<29><0E><13><1D>I<>G<EFBFBD> <09>J<EFBFBD>J<EFBFBD><0F><1E>-<2D>-<2D>/<2F> <20> <20>,<2C>,<2C>
<EFBFBD>
<EFBFBD> <12>i<EFBFBD>i<EFBFBD><06><08>H<EFBFBD>H<EFBFBD>Jrz --versionzShow the flask versionF)<05>help<6C> expose_value<75>callback<63>is_flag<61>is_eagerc<00>0<00>eZdZdZdd<02>Zd<03>Zd<04>Zd<05>Zd<06>Zy) <09>DispatchingAppaSpecial application that dispatches to a Flask application which
is imported by name in a background thread. If an error happens
it is recorded and shown as part of the WSGI handling which in case
of the Werkzeug debugger means that it shows up in the browser.
c<00><><00>||_d|_t<00>|_d|_|r|j <00>y|j <00>y<00>N)<07>loader<65>_appr<00>_lock<63>_bg_loading_exc_info<66>_load_unlocked<65>_load_in_background)<03>selfr<66><00>use_eager_loadings rrUzDispatchingApp.__init__+s<<00><00><1C><04> <0B><18><04> <09><19>V<EFBFBD><04>
<EFBFBD>$(<28><04>!<21> <1C> <10> <1F> <1F> !<21> <10> $<24> $<24> &rc<00>J<00><00><00>fd<01>}t|d<02><03>}|j<00>y)Nc<00><><00><01>d}<00>j5 <00>j<00>ddd<00>y#t$rtj<00><00>_Y<00>-wxYw#1swYyxYw<01>NT)r<>r<><00> Exceptionr>r?r<>)rnr<>s <20>r<00> _load_appz5DispatchingApp._load_in_background.<locals>._load_app6sO<00><><00>!%<25> <1E><15><1A><1A>?<3F><18>'<27>'<27>)<29><1C><1A><>!<21>?<3F>03<30> <0C> <0C><0E>D<EFBFBD>-<2D>?<3F><><1C><1A>s&<00>A<03>+<02>"A<05> A<03>A<05>A<03>Ar)<02>targetr6)r<00>start)r<>r<><00>ts` rr<>z"DispatchingApp._load_in_background5s<00><><00> ?<3F> <13>)<29>"<22> -<2D><01> <09><07><07> rc<00>D<00>d}|j}|<02>d|_t|<02>yyr<>)r<>r )r<>rnr?s r<00>_flush_bg_loading_exceptionz*DispatchingApp._flush_bg_loading_exceptionAs.<00><00>!<21><1A><17>,<2C>,<2C><08> <13> <1F>(,<2C>D<EFBFBD> %<25> <13>X<EFBFBD> <1E> rc<00>F<00>d}|j<00>x|_}d|_|Sr<>)r<>r<>r<>)r<>rn<00>rvs rr<>zDispatchingApp._load_unlockedHs'<00><00>!<21><1A><1D><1B><1B><1D>&<26><04> <09>B<EFBFBD>$(<28><04>!<21><11> rc<00>
<00>d}|j<00>|j||<02>S|j<00>|j5|j<00> |j}n|j<00>}|||<02>cddd<00>S#1swYyxYwr<>)r<>r<>r<>r<>)r<><00>environ<6F>start_responsernr<>s r<00>__call__zDispatchingApp.__call__Nsk<00><00>!<21><1A> <0F>9<EFBFBD>9<EFBFBD> <20><17>9<EFBFBD>9<EFBFBD>W<EFBFBD>n<EFBFBD>5<> 5<> <0C>(<28>(<28>*<2A> <11>Z<EFBFBD>Z<EFBFBD><13>y<EFBFBD>y<EFBFBD>$<24><19>Y<EFBFBD>Y<EFBFBD><02><19>(<28>(<28>*<2A><02><15>g<EFBFBD>~<7E>.<2E> <18>Z<EFBFBD>Z<EFBFBD>s <00>2A9<03>9BN<>F) rrrrrUr<>r<>r<>r<>rrrr<>r<>$s <00><00><08> '<27>
<12><1F><12>
/rr<>c<00><00>eZdZdZdd<03>Zd<04>Zy)<06>
ScriptInfoa<EFBFBD>Helper object to deal with Flask applications. This is usually not
necessary to interface with as it's used internally in the dispatching
to click. In future versions of Flask this object will most likely play
a bigger role. Typically it's created automatically by the
:class:`FlaskGroup` but you can also manually create it and pass it
onwards as click object.
Nc<00><><00>|xstjjd<01>|_||_i|_||_d|_y)N<> FLASK_APP)rXr<><00>get<65>app_import_pathr!<00>data<74>set_debug_flag<61> _loaded_app)r<>r<>r!r<>s rrUzScriptInfo.__init__ds><00><00>.<2E>M<>"<22>*<2A>*<2A>.<2E>.<2E><1B>2M<32><04><1C>%<25><04><0F><17><04> <09>,<2C><04><1B><1F><04>rc<00><><00>d}|j<00> |jSd}|j<00>t||j<00>}nu|jrDt j
d|jd<04>dgzdd\}}t |<03>}t|||<04>}n%dD] }t |<03>}t||dd<07><08>}|s<01> n|s td <09><00>|jrt<00>|_ ||_|S)
z<EFBFBD>Loads the Flask app (if not yet loaded) and returns it. Calling
this multiple times will just result in the already loaded app to
be returned.
TNz
:(?![\\/])r r=)zwsgi.pyzapp.pyF)rmz<>Could not locate a Flask application. You did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not found in the current directory.) r<>r!r,r<>rJr^rfrorr<>r<00>debug)r<>rnrrYrG<00> import_names r<00>load_appzScriptInfo.load_appps<><00><00>
"<22><1A> <0F> <1B> <1B> '<27><17>#<23>#<23> #<23><12><03> <0F>?<3F>?<3F> &<26><1E>t<EFBFBD>T<EFBFBD>_<EFBFBD>_<EFBFBD>5<>C<EFBFBD><13>#<23>#<23><16>H<EFBFBD>H<EFBFBD>]<5D>D<EFBFBD>,@<40>,@<40>!<21>D<><04>v<EFBFBD>M<><14>1<EFBFBD><16>
<EFBFBD><04>d<EFBFBD>-<2D>T<EFBFBD>2<> <0B> <20><14>{<7B>D<EFBFBD>9<><03>1<>D<EFBFBD>"0<><14>"6<>K<EFBFBD>$<24>T<EFBFBD>;<3B><04>QV<51>W<>C<EFBFBD><1A><1D> 2<><13> <20>J<01><0E> <0E> <10> <1E> <1E>'<27>(<28>C<EFBFBD>I<EFBFBD><1E><04><18><12>
r)NNT)rrrrrUr<>rrrr<>r<>[s<00><00><08>
 <20>*rr<>)<01>ensurec<00>L<00><00>tj<00>fd<01><08>}t|<01><00>S)z<>Wraps a callback so that it's guaranteed to be executed with the
script's application context. If callbacks are registered directly
to the ``app.cli`` object then they are wrapped with this function
by default unless it's disabled.
c<00><><00><01>|jt<00>j<00>j<00>5|j<00>g|<01><01>i|<02><01>cddd<00>S#1swYyxYwr<>)<05> ensure_objectr<74>r<><00> app_context<78>invoke)<04>__ctxr6<00>kwargs<67>fs <20>r<00> decoratorz"with_appcontext.<locals>.decorator<6F>sH<00><><00> <12> <20> <20><1A> ,<2C> 5<> 5<> 7<> C<> C<> E<><1F>5<EFBFBD><<3C><<3C><01>3<>D<EFBFBD>3<>F<EFBFBD>3<>F<01> E<> E<>s <00>A<03>A)rw<00> pass_contextr)r<>r<>s` r<00>with_appcontextr<74><00>s,<00><><00> <0B><17><17>4<><18>4<> <1A>)<29>Q<EFBFBD> '<27>'rc<00><00>eZdZdZd<02>Zd<03>Zy)<05>AppGroupaThis works similar to a regular click :class:`~click.Group` but it
changes the behavior of the :meth:`command` decorator so that it
automatically wraps the functions in :func:`with_appcontext`.
Not to be confused with :class:`FlaskGroup`.
c<00>B<00><00><01><02><04><00>jdd<02><00><04><01><02><00>fd<03>}|S)z<>This works exactly like the method of the same name on a regular
:class:`click.Group` but it wraps callbacks in :func:`with_appcontext`
unless it's disabled by passing ``with_appcontext=False``.
r<>Tc<00>p<00><04><00>r t|<00>}tjj<00>g<01><01><01>i<00><02><01>|<00>Sr<>)r<>rw<00>Group<75>command)r<>r6r<>r<><00> wrap_for_ctxs <20><><EFBFBD><EFBFBD>rr<>z#AppGroup.command.<locals>.decorator<6F>s6<00><><00><1B>#<23>A<EFBFBD>&<26><01>=<3D>5<EFBFBD>;<3B>;<3B>&<26>&<26>t<EFBFBD>=<3D>d<EFBFBD>=<3D>f<EFBFBD>=<3D>a<EFBFBD>@<40> @r)<01>pop)r<>r6r<>r<>r<>s``` @rr<>zAppGroup.command<6E>s$<00><><00>
<1E>z<EFBFBD>z<EFBFBD>"3<>T<EFBFBD>:<3A> <0C> A<01>
<19>rc<00>t<00>|jdt<00>tjj|g|<01><01>i|<02><01>S)z<>This works exactly like the method of the same name on a regular
:class:`click.Group` but it defaults the group class to
:class:`AppGroup`.
<20>cls)<05>
setdefaultr<EFBFBD>rwr<><00>group)r<>r6r<>s rr<>zAppGroup.group<75>s3<00><00>
<0F><19><19>%<25><18>*<2A><14>{<7B>{<7B> <20> <20><14>7<><04>7<><06>7<>7rN)rrrrr<>r<>rrrr<>r<><00>s<00><00><08> <19>8rr<>c<00>F<00><00>eZdZdZ dd<02>Zd<03>Zd<04>Zd<05>Z<07>fd<06>Z<08>xZ S)<08>
FlaskGroupajSpecial subclass of the :class:`AppGroup` group that supports
loading more commands from the configured Flask app. Normally a
developer does not have to interface with this class but there are
some very advanced use cases for which it makes sense to create an
instance of this.
For information as of why this is useful see :ref:`custom-scripts`.
:param add_default_commands: if this is True then the default run and
shell commands will be added.
:param add_version_option: adds the ``--version`` option.
:param create_app: an optional callback that is passed the script info and
returns the loaded app.
:param load_dotenv: Load the nearest :file:`.env` and :file:`.flaskenv`
files to set environment variables. Will also change the working
directory to the directory containing the first file found.
:param set_debug_flag: Set the app's debug flag based on the active
environment
.. versionchanged:: 1.0
If installed, python-dotenv will be used to load environment variables
from :file:`.env` and :file:`.flaskenv` files.
c <00>Z<00>t|jdd<00>xsd<02>}|r|jt<00>t j
|fd|i|<06><01>||_||_||_|r?|jt<00>|jt<00>|jt<00>d|_ y)N<>paramsrF)<0E>listr<74>r_<00>version_optionr<6E>rUr!<00> load_dotenvr<76><00> add_command<6E> run_command<6E> shell_command<6E>routes_command<6E>_loaded_plugin_commands)r<><00>add_default_commandsr!<00>add_version_optionr<6E>r<><00>extrar<61>s rrUzFlaskGroup.__init__<5F>s<><00><00><16>e<EFBFBD>i<EFBFBD>i<EFBFBD><08>$<24>/<2F>5<>2<EFBFBD>6<><06> <1D> <12>M<EFBFBD>M<EFBFBD>.<2E> )<29><10><19><19>$<24>7<>v<EFBFBD>7<><15>7<>$<24><04><0F>&<26><04><18>,<2C><04><1B> <1F> <10> <1C> <1C>[<5B> )<29> <10> <1C> <1C>]<5D> +<2B> <10> <1C> <1C>^<5E> ,<2C>',<2C><04>$rc<00><><00>|jry ddl}|jd<03>D],}|j |j <00>|j <00><00>.d|_y#t$r
d|_YywxYw)NrTzflask.commands)r<><00> pkg_resourcesri<00>iter_entry_pointsr<73><00>loadrG)r<>r<><00>eps r<00>_load_plugin_commandsz FlaskGroup._load_plugin_commandssm<00><00> <0F> '<27> '<27> <12> <13> <20>
 <20>1<>1<>2B<32>C<>B<EFBFBD> <10> <1C> <1C>R<EFBFBD>W<EFBFBD>W<EFBFBD>Y<EFBFBD><02><07><07> 0<>D<01>'+<2B><04>$<24><> <1B> <13>+/<2F>D<EFBFBD> (<28> <12> <13>s<00>A<00>A.<03>-A.c<00><00>|j<00>tj|||<02>}|<03>|S|jt<00>} |j <00>j j||<02>}|<03>|Sy#t$rYywxYwr<>)r<>r<><00> get_commandr<64>r<>r<><00>clir)r<>r|rGr<><00>infos rr<>zFlaskGroup.get_commands<><00><00> <0C>"<22>"<22>$<24><16> !<21> !<21>$<24><03>T<EFBFBD> 2<><02> <0A>><3E><15>I<EFBFBD><12> <20> <20><1A>,<2C><04> <11><15><1D><1D><1F>$<24>$<24>0<>0<><13>d<EFBFBD>;<3B>B<EFBFBD><11>~<7E><19> <09><1E><><1D> <11> <10> <11>s<00>-A1<00>1 A=<03><A=c<00><><00>|j<00>ttjj ||<01><00>}|j t <00>} |j|j<00>jj |<01><00>t|<02>S#t$r!tj<00>Yt|<02>SwxYwr<>)r<><00>setrwr<><00> list_commandsr<73>r<><00>updater<65>r<>r<>rj<00> print_exc<78>sorted)r<>r|r<>r<>s rr<>zFlaskGroup.list_commands$s<><00><00> <0C>"<22>"<22>$<24><11><15><1B><1B>*<2A>*<2A>4<EFBFBD><13>5<> 6<><02><12> <20> <20><1A>,<2C><04> "<22> <0E>I<EFBFBD>I<EFBFBD>d<EFBFBD>m<EFBFBD>m<EFBFBD>o<EFBFBD>)<29>)<29>7<>7<><03><<3C> =<3D><16>b<EFBFBD>z<EFBFBD><19><><19> "<22> <16> <1F> <1F> !<21><15>b<EFBFBD>z<EFBFBD><19> "<22>s<00>8B<00>B=<03><B=c<00>$<00><01>dtjd<t|j<00>r
t<00>|j d<03>}|<03>!t |j |j<00><04>}||d<|jdd<06>tt|<00>.|i|<02><01>S)N<>true<75>FLASK_RUN_FROM_CLI<4C>obj)r!r<><00>auto_envvar_prefix<69>FLASK) rXr<>rr<>r<>r<>r!r<>r<><00>superr<72><00>main)r<>r6r<>r<><00> __class__s <20>rr<>zFlaskGroup.main7s<><00><><00>
,2<><02>
<EFBFBD>
<EFBFBD>'<27>(<28> <1A>4<EFBFBD>+<2B>+<2B> ,<2C> <17>M<EFBFBD><14>j<EFBFBD>j<EFBFBD><15><1F><03> <0E>;<3B><1C><1F>?<3F>?<3F>4<EFBFBD>;N<>;N<><0E>C<EFBFBD><1C><06>u<EFBFBD> <0A><0E><19><19>.<2E><07>8<><14>Z<EFBFBD><14>+<2B>T<EFBFBD><<3C>V<EFBFBD><<3C><r)TNTTT)
rrrrrUr<>r<>r<>r<><00> __classcell__<5F>r<>s@rr<>r<><00>s7<00><><00><08>4"<22><17><1F><18><1B> -<2D>4 ,<2C><11>,<1A>&=<3D>=rr<>c<00><><00>tjj||t|<00>dj tj
<00><00>|k(S)z<>Take ``other`` and remove the length of ``path`` from it. Then join it
to ``path``. If it is the original value, ``path`` is an ancestor of
``other``.N)rXrYrar(<00>lstrip<69>sep)rY<00>others r<00>_path_is_ancestorr<72>Ms8<00><00> <0E>7<EFBFBD>7<EFBFBD><<3C><<3C><04>e<EFBFBD>C<EFBFBD><04>I<EFBFBD>K<EFBFBD>0<>7<>7<><02><06><06>?<3F> @<40>E<EFBFBD> I<>Irc<00>D<00>t<00>Y|s>tjjd<02>stjjd<03>rt j
ddd<06><07>y|<00>5tjj|<00>rtj |<00>Syd}d D]R}tj|d<06>
<EFBFBD>}|s<01>|<01>tjj|<00>}tj |<00><00>T|r,tj<00>|k7rtj|<01>|duS) aHLoad "dotenv" files in order of precedence to set environment variables.
If an env var is already set it is not overwritten, so earlier files in the
list are preferred over later files.
Changes the current working directory to the location of the first file
found, with the assumption that it is in the top level project directory
and will be where the Python path should import local packages from.
This is a no-op if `python-dotenv`_ is not installed.
.. _python-dotenv: https://github.com/theskumar/python-dotenv#readme
:param path: Load the file at this location instead of searching.
:return: ``True`` if a file was loaded.
.. versionchanged:: 1.1.0
Returns ``False`` when python-dotenv is not installed, or when
the given path isn't a file.
.. versionadded:: 1.0
N<>.env<6E> .flaskenvz^ * Tip: There are .env or .flaskenv files present. Do "pip install python-dotenv" to use them.<2E>yellowT)<02>fg<66>errF)r<>r<>)<01>usecwd) <0B>dotenvrXrY<00>isfilerw<00>sechor<6F><00> find_dotenvr]<00>getcwd<77>chdir)rY<00>new_dirrGs rr<>r<>Ts<><00><00>.<0E>~<7E> <0F>2<EFBFBD>7<EFBFBD>7<EFBFBD>><3E>><3E>&<26>)<29>R<EFBFBD>W<EFBFBD>W<EFBFBD>^<5E>^<5E>K<EFBFBD>-H<> <11>K<EFBFBD>K<EFBFBD>?<3F><1B><18>  <0E><15> <0C><17> <0A>7<EFBFBD>7<EFBFBD>><3E>><3E>$<24> <1F><19>%<25>%<25>d<EFBFBD>+<2B> +<2B><14><12>G<EFBFBD>%<25><04><15>!<21>!<21>$<24>t<EFBFBD>4<><04><13> <14> <12>?<3F><18>g<EFBFBD>g<EFBFBD>o<EFBFBD>o<EFBFBD>d<EFBFBD>+<2B>G<EFBFBD><0E><1A><1A>4<EFBFBD> <20>&<26><0F>2<EFBFBD>9<EFBFBD>9<EFBFBD>;<3B>'<27>)<29>
<EFBFBD><08><08><17><19> <12>$<24> <1E>rc<00><><00>tjjd<01>dk(ry|<02>-dj|<02>}|s|dz }t j
|<04>t j
dj|<00><00>|dk(r.t j dd <09>
<EFBFBD>t j d d <0C> <0A>|<01>)t j
dj|rdnd<10><00>yy)z]Show extra startup messages the first time the server is run,
ignoring the reloader.
<20>WERKZEUG_RUN_MAINr<4E>Nz * Serving Flask app "{0}"z (lazy loading)z * Environment: {0}<7D>
productionzS WARNING: This is a development server. Do not use it in a production deployment.<2E>red)r<>z( Use a production WSGI server instead.T)<01>dimz * Debug mode: {0}<7D>on<6F>off)rXr<>r<>r)rwrxr)<05>envr<76>r<><00> eager_loadingrs r<00>show_server_bannerr<00>s<><00><00>
<EFBFBD>z<EFBFBD>z<EFBFBD>~<7E>~<7E>)<29>*<2A>f<EFBFBD>4<><0E><16>"<22>.<2E>5<>5<>o<EFBFBD>F<><07><1C> <13>(<28> (<28>G<EFBFBD> <0A>
<EFBFBD>
<EFBFBD>7<EFBFBD><1B> <09>J<EFBFBD>J<EFBFBD>$<24>+<2B>+<2B>C<EFBFBD>0<>1<>
<EFBFBD>l<EFBFBD><1A> <0A> <0B> <0B> 8<><14>
<EFBFBD>
<0E> <0B> <0B>><3E>D<EFBFBD>I<> <0C><18> <0A>
<EFBFBD>
<EFBFBD>'<27>.<2E>.<2E>u<EFBFBD>t<EFBFBD>%<25>H<>I<>rc<00> <00>eZdZdZdZd<03>Zd<04>Zy)<06> CertParamTypez<65>Click option type for the ``--cert`` option. Allows either an
existing file, the string ``'adhoc'``, or an import for a
:class:`~ssl.SSLContext` object.
rYc<00>><00>tjddd<01><03>|_y)NTF<54>r`<00>dir_okay<61> resolve_path)rw<00>Path<74> path_type)r<>s rrUzCertParamType.__init__<5F>s<00><00><1E><1A><1A>4<EFBFBD>%<25>d<EFBFBD>S<><04>rc<00><><00>t<00>tjd||<02><00> |j|||<03>S#tj$r<>tj|||<03>j <00>}|dk(r. ddl}n$#t$rtjd||<02><00>wxYw|cYSt|d<05><06>}tjdkr|r|cYS<00>t|tj<00>r|cYS<00>wxYw)Nz?Using "--cert" requires Python to be compiled with SSL support.<2E>adhocrz-Using ad-hoc certificates requires pyOpenSSL.T)<01>silent<6E>r=<00><00> ) <0A>sslrw<00> BadParameterr<00>STRING<4E>lower<65>OpenSSLrirr><00> version_infor&<00>
SSLContext)r<>r~r}r|r!r<>s r<00>convertzCertParamType.convert<72>s<><00><00> <0E>;<3B><17>$<24>$<24>Q<><13><15><0E> <0E>  <12><17>><3E>><3E>%<25><15><03>4<> 4<><34><14>!<21>!<21> <12><19>L<EFBFBD>L<EFBFBD><15><05>s<EFBFBD>3<>9<>9<>;<3B>E<EFBFBD><14><07><1F><16>"<22><>"<22><16><1F>,<2C>,<2C>G<><13>e<EFBFBD><16><16><16><>
<1D> <0C><1F><05>d<EFBFBD>3<>C<EFBFBD><12><1F><1F>)<29>+<2B><16><1E>J<EFBFBD>
<12><1E>c<EFBFBD>3<EFBFBD>><3E>><3E>2<><1E>J<EFBFBD> <11>- <12>s3<00>2<00>=C$<03>0A5<02>4C$<03>5!B<05>C$<03>$C$<03>C$<03>"C$N)rrrrrGrUr$rrrrr<00>s<00><00><08>
<12>D<EFBFBD>T<01> rrc<00><><00>|jjd<01>}|dk(}tjdkr|xrt |t
t f<02> }nt |tj<00>}|<02>^|rtjd||<01><00>|rtjd||<01><00>|stjd||<01><00>||f|jd<|S|r|s|stjd||<01><00>|S)z<>The ``--key`` option must be specified when ``--cert`` is a file.
Modifies the ``cert`` param to be a ``(cert, key)`` pair if needed.
<20>certrrz.When "--cert" is "adhoc", "--key" is not used.z:When "--cert" is an SSLContext object, "--key is not used.z "--cert" must also be specified.zRequired when using "--cert".) r<>r<>r>r"r&r <00>bytesrr#rwr)r|r}r~r&<00>is_adhoc<6F>
is_contexts r<00> _validate_keyr*<00>s<><00><00> <0F>:<3A>:<3A>><3E>><3E>&<26> !<21>D<EFBFBD><13>w<EFBFBD><EFBFBD>H<EFBFBD>
<EFBFBD><17><17>)<29>#<23><19>F<>*<2A>T<EFBFBD>I<EFBFBD>u<EFBFBD>3E<33>"F<>F<>
<EFBFBD><1F><04>c<EFBFBD>n<EFBFBD>n<EFBFBD>5<>
<EFBFBD> <0C><18> <13><17>$<24>$<24>@<40>#<23>u<EFBFBD><0E> <0E> <16><17>$<24>$<24>L<>c<EFBFBD>SX<53><0E> <0E><14><17>$<24>$<24>%G<><13>e<EFBFBD>T<> T<>!<21>5<EFBFBD>[<5B><03>
<EFBFBD>
<EFBFBD>6<EFBFBD><1A> <11>L<EFBFBD> <10><18>Z<EFBFBD><17>$<24>$<24>%D<>c<EFBFBD>5<EFBFBD>Q<> Q<> <10>Lrc<00>"<00><00>eZdZdZ<03>fd<02>Z<04>xZS)<03>SeparatedPathTypez<65>Click option type that accepts a list of values separated by the
OS's path separator (``:``, ``;`` on Windows). Each value is
validated as a :class:`click.Path` type.
c<00>|<00><01>|j|<01>}tt|<00>}|D<00>cgc] }||||<03><00><02>c}Scc}wr<>)<04>split_envvar_valuer<65>r,r$)r<>r~r}r|<00>items<6D> super_convert<72>itemr<6D>s <20>rr$zSeparatedPathType.convertsA<00><><00><14>'<27>'<27><05>.<2E><05><1D>/<2F><14>><3E> <0A><A<>B<>E<EFBFBD>D<EFBFBD> <0A>d<EFBFBD>E<EFBFBD>3<EFBFBD>/<2F>E<EFBFBD>B<>B<><42>Bs<00>9)rrrrr$r<>r<>s@rr,r,<00>s<00><><00><08>
C<01>Crr,<00>runzRun a development server.)<01>
short_helpz--hostz-hz 127.0.0.1zThe interface to bind to.)<02>defaultr<74>z--portz-pi<70>zThe port to bind to.z--certz(Specify a certificate file to use HTTPS.)<02>typer<65>z--keyrz2The key file to use when specifying a certificate.)r5r<>r<>r<>z--reload/--no-reloadzVEnable or disable the reloader. By default the reloader is active if debug is enabled.z--debugger/--no-debuggerzVEnable or disable the debugger. By default the debugger is active if debug is enabled.z--eager-loading/--lazy-loaderzaEnable or disable eager loading. By default eager loading is enabled if the reloader is disabled.z --with-threads/--without-threadsz!Enable or disable multithreading.z --extra-fileszRExtra files that trigger a reload on change. Multiple paths are separated by '{}'.)r4r5r<>c
<00><><00>t<00>} |<03>| }|<04>| }|<05>| }tt<00>| |j|<05>t |j
|<05><02>}
ddlm} | |||
|||||<08><05>y)aRun a local development server.
This server is for development purposes only. It does not provide
the stability, security, or performance of production WSGI servers.
The reloader and debugger are enabled by default if
FLASK_ENV=development or FLASK_DEBUG=1.
N)r<>r)<01>
run_simple)<05> use_reloader<65> use_debugger<65>threaded<65> ssl_context<78> extra_files)rrrr<>r<>r<><00>werkzeug.servingr7) r<><00>host<73>port<72>reload<61>debuggerr <00> with_threadsr&r<r<>rr7s rr<>r<> sx<00><00>r <1B> <1C>E<EFBFBD> <0A>~<7E><16><06><0F><17><18><08><14><1C>"<22>
<EFBFBD> <0A><16>w<EFBFBD>y<EFBFBD>%<25><14>)=<3D>)=<3D>}<7D>M<>
<18><14><1D><1D>-<2D>
H<EFBFBD>C<EFBFBD>+<2B><0E> <0C> <0C> <0B><1B><1D><1D><18><1F> r<00>shellzRun a shell in the app context.c
<00>N<00>ddl}ddlm}|jj}dt
j <00>dt
j<00>d|j<00>d|j<00>d |j<00><01>
}i}tjjd
<EFBFBD>}|rYtjj|<05>r:t!|d <0B>5}t#t%|j'<00>|d <0C>|<04>ddd<02>|j)|j+<00><00>|j-||<04> <0A>y#1swY<00><xYw)a;Run an interactive Python shell in the context of a given
Flask application. The application will populate the default
namespace of this shell according to it's configuration.
This is useful for executing small snippets of management code
without having to manually configure the application.
rNr )<01>_app_ctx_stackzPython z on z
App: z [z ]
Instance: <20> PYTHONSTARTUP<55>r<>exec)<02>banner<65>local)<17>code<64>globalsrE<00>toprr><00>versionryr<>r <00> instance_pathrXr<>r<>rYr<><00>open<65>eval<61>compile<6C>readr<64><00>make_shell_context<78>interact)rKrErrIr|<00>startupr<70>s rr<>r<>`s<><00><00><10>'<27>
<18>
<1C>
<1C>
<20>
<20>C<EFBFBD> <0B> <0B> <0B> <0B> <0C> <0C> <0B><0F><0F> <0B><07><07> <0B><19><19> <06>F<EFBFBD> <0A>C<EFBFBD><11>j<EFBFBD>j<EFBFBD>n<EFBFBD>n<EFBFBD>_<EFBFBD>-<2D>G<EFBFBD><0E>2<EFBFBD>7<EFBFBD>7<EFBFBD>><3E>><3E>'<27>*<2A> <11>'<27>3<EFBFBD> <1F>1<EFBFBD> <10><17><11><16><16><18>7<EFBFBD>F<EFBFBD>3<>S<EFBFBD> 9<> <20><08>J<EFBFBD>J<EFBFBD>s<EFBFBD>%<25>%<25>'<27>(<28><08>M<EFBFBD>M<EFBFBD><16>s<EFBFBD>M<EFBFBD>+<2B>  <20> <1F>s <00>:&D<03>D$<07>routeszShow the routes for the app.z--sortz-s)<04>endpoint<6E>methods<64>rulerKrXzgMethod to sort routes by. "match" is the order that Flask will match routes when dispatching a request.)r5r4r<>z --all-methodszShow HEAD and OPTIONS methods.)r<>r<>c <00><><00>ttjj<00><00>}|st j
d<01>yt |rdnd<04>}|dvrt|t|<00><00><06>}n|dk(rt|d<08><00><06>}|D<00>cgc])}d jt|j|z
<00><00><00><02>+}}d
}td <0B>|D<00><00>td <0C>|D<00><00>td <0A>|D<00><00>f}t||<07>D<00><08> cgc]\}} tt|<08>| <09><00><02>}}} dj|<07>}
t j
|
j|<06>j<00><00>t j
|
jd<0F>|D<00><00><00>t||<05>D]M\}} t j
|
j|j | |j"<00>j%<00><00><00>Oycc}wcc} }w)z6Show all registered routes with endpoints and methods.zNo routes were registered.Nr)<02>HEAD<41>OPTIONS)rXrZ)<01>keyrYc<00>,<00>t|j<00>Sr<>)r<>rY)rZs r<00><lambda>z routes_command.<locals>.<lambda><3E>s <00><00>v<EFBFBD>d<EFBFBD>l<EFBFBD>l<EFBFBD>/Crz, )<03>Endpoint<6E>Methods<64>Rulec3<00>FK<00>|]}t|j<00><00><01><00>y<00>wr<>)r(rX<00><02>.0rZs r<00> <genexpr>z!routes_command.<locals>.<genexpr><3E>s<00><00><><00> 1<>5<EFBFBD>4<EFBFBD>C<EFBFBD><04> <0A> <0A> <1E>5<EFBFBD><35><00>!c3<00>2K<00>|]}t|<01><00><01><00>y<00>wr<>)r()rfrYs rrgz!routes_command.<locals>.<genexpr><3E>s<00><00><><00> 5<> <0C>W<EFBFBD>C<EFBFBD><07>L<EFBFBD> <0C>s<00>c3<00>FK<00>|]}t|j<00><00><01><00>y<00>wr<>)r(rZres rrgz!routes_command.<locals>.<genexpr><3E>s<00><00><><00> -<2D>u<EFBFBD>t<EFBFBD>C<EFBFBD><04> <09> <09>N<EFBFBD>u<EFBFBD>rhz"{{0:<{0}}} {{1:<{1}}} {{2:<{2}}}c3<00>&K<00>|] }d|z<00><01><00> y<01>w)<02>-Nr)rf<00>widths rrgz!routes_command.<locals>.<genexpr><3E>s<00><00><><00><<3C>V<EFBFBD>E<EFBFBD>C<EFBFBD>%<25>K<EFBFBD>V<EFBFBD>s<00>)r<>r<00>url_map<61>
iter_rulesrwrxr<>r<>rrarY<00>max<61>zipr(r)<00>striprXrZ<00>rstrip) <0C>sort<72> all_methods<64>rules<65>ignored_methodsrZ<00> rule_methods<64>headers<72>widths<68>h<>w<>rowrYs rr<>r<><00>s<><00><00> <11><1B>$<24>$<24>/<2F>/<2F>1<> 2<>E<EFBFBD> <10> <0A>
<EFBFBD>
<EFBFBD>/<2F>0<><0E><19> <0B>"<22>1D<31>E<>O<EFBFBD> <0B>#<23>#<23><16>u<EFBFBD>*<2A>T<EFBFBD>"2<>3<><05> <0A><19> <1A><16>u<EFBFBD>"C<>D<><05>RW<52>X<>RW<52>$<24>D<EFBFBD>I<EFBFBD>I<EFBFBD>f<EFBFBD>T<EFBFBD>\<5C>\<5C>O<EFBFBD>%C<>D<>E<>RW<52>L<EFBFBD>X<>-<2D>G<EFBFBD> <0B> 1<>5<EFBFBD> 1<>1<> <0B> 5<> <0C> 5<>5<> <0B> -<2D>u<EFBFBD> -<2D>-<2D><06>F<EFBFBD>
*-<2D>W<EFBFBD>f<EFBFBD>)=<3D> ><3E>)=<3D><14><11>A<EFBFBD>c<EFBFBD>#<23>a<EFBFBD>&<26>!<21>n<EFBFBD>)=<3D>F<EFBFBD> ><3E>
5<EFBFBD>
.<2E>
5<EFBFBD>
5<EFBFBD>v<EFBFBD>
><3E>C<EFBFBD> <09>J<EFBFBD>J<EFBFBD>z<EFBFBD>s<EFBFBD>z<EFBFBD>z<EFBFBD>7<EFBFBD>#<23>)<29>)<29>+<2B>,<2C> <09>J<EFBFBD>J<EFBFBD>z<EFBFBD>s<EFBFBD>z<EFBFBD>z<EFBFBD><<3C>V<EFBFBD><<3C>=<3D>><3E><1C>U<EFBFBD>L<EFBFBD>1<> <0A><04>g<EFBFBD> <0A>
<EFBFBD>
<EFBFBD>3<EFBFBD>:<3A>:<3A>d<EFBFBD>m<EFBFBD>m<EFBFBD>W<EFBFBD>d<EFBFBD>i<EFBFBD>i<EFBFBD>@<40>G<>G<>I<>J<>2<><32>Y<01><>?s <00>.G<04>7G#a<>A general utility script for Flask applications.
Provides commands from Flask, extensions, and the application. Loads the
application defined in the FLASK_APP environment variable, or from a wsgi.py
file. Setting the FLASK_ENV environment variable to 'development' will enable
debug mode.

{prefix}{cmd} FLASK_APP=hello.py
{prefix}{cmd} FLASK_ENV=development
{prefix}flask run
<EFBFBD>posix<69>exportr<74>z$ z> )<02>cmd<6D>prefix)r<>c<00>D<00>tj|rd<01><02>yd<00><02>y)Nzpython -m flask)<01> prog_name)r<>r<><00><01> as_modules rr<>r<><00>s<00><00><07>H<EFBFBD>H<EFBFBD>I<EFBFBD>(<28>H<EFBFBD>@<40>4<EFBFBD>H<EFBFBD>@r<00>__main__r<5F>)r)Tr<54>r<>)Kr<00>
__future__rrNr*rXryrJr>rj<00> functoolsr<00>operatorr<00> threadingrrrw<00>werkzeug.utilsr<00>_compatr
r r r rLr<00>helpersrrrr<>rir<00>
UsageErrorrr4r,r.rSrfror<><00>Optionr<6E><00>objectr<74>r<><00>make_pass_decorator<6F>pass_script_infor<6F>r<>r<>r<>r<>r<>r<00> ParamTyperr*rr,r<><00>optionr)rY<00>pathsepr<70>r<><00>Choicer<65>rGr<>r<>rrrr<00><module>r<>s<><00><01><04>&<26>
<EFBFBD><0E> <09><0F> <09>
<EFBFBD><10>$<24><1F><1A><1C> <0C>(<28><1F><1F><1C><1E> <20>#<23><1C>$<24><12><11><0F><0E>
><3E>U<EFBFBD>%<25>%<25>><3E>0<06>f<19>&<0F>48<06>v'<27>:A<01>4<0F>(<1E><15><1C><1C><10>M<EFBFBD> !<21><16> <18> <10> <11> <02><0E>4/<2F>V<EFBFBD>4/<2F>n?<13><16>?<13>D-<2D>5<EFBFBD>,<2C>,<2C>Z<EFBFBD><04>E<><10> (<28>8<>u<EFBFBD>{<7B>{<7B>8<>>|=<3D><18>|=<3D>~J<01>:<1F>zJ<01>:+<12>E<EFBFBD>O<EFBFBD>O<EFBFBD>+<12>\ <11>F C<01><05>
<EFBFBD>
<EFBFBD> C<01><0F><15><1D><1D>u<EFBFBD>!<<3C>=<3D> <0A><15><1C><1C>h<EFBFBD><04>k<EFBFBD>8S<38>T<> <0A><15><1C><1C>h<EFBFBD><04>d<EFBFBD>1G<31>H<> <0A><15><1C><1C> <0C>=<3D>?<3F>)S<><02><0E><15><1C><1C> <0B> <13><15><1A><1A>4<EFBFBD>%<25>d<EFBFBD> C<> <1A><16> =<3D> <02><0E><15><1C><1C><1A> <10>
%<25><02> <0E><15><1C><1C><1E> <10>
%<25><02> <0E><15><1C><1C>#<23> <10>
6<EFBFBD><02> <0E><15><1C><1C>&<26> <10> ,<2C><02>
<0E><15><1C><1C><13> <10> <1A> <1C> "<22>"(<28>&<26><12><17><17><1F><1F>"9<> <02><12>$<06><12><02> <02> <02> <02> <02><02><02>I<01>U<01>><3E>\$<06>N<0F><15><1D><1D>w<EFBFBD>#D<>E<><10>,<2C><11>F<01>,<2C>B<0F><15><1D><1D>x<EFBFBD>$B<>C<> <0A><15><1C><1C> <0C><08> <15><15><1C><1C>><3E> ?<3F> <16> -<2D> <02><0E><15><1C><1C>o<EFBFBD>t<EFBFBD>2R<32>S<><10>K<01><11>T<01> <02>D<01>K<01>B<11>
<04> <0B>F<EFBFBD><1A><07><07>7<EFBFBD>*<2A>H<EFBFBD><05><19>w<EFBFBD>w<EFBFBD>'<27>)<29>t<EFBFBD>t<EFBFBD> <0B><06><02><03>(A<01> <0C>z<EFBFBD><19><08>4<EFBFBD><18><1A><>E<13><12> <11>F<EFBFBD><12><>
<13><0F>
<0E>C<EFBFBD><0F>s$<00>8M<00>=M$<00>M!<03> M!<03>$M/<03>.M/