Files
old-parkingkoncept/parkingkonceptvenv/lib/python3.7/site-packages/dotenv/__pycache__/cli.cpython-37.pyc

46 lines
3.6 KiB
Plaintext
Raw Normal View History

2019-11-17 12:44:16 +01:00
B
6U<36>]L<00> @s<>ddlZddlZddlmZddlmZmZmZy ddlZWn*e k
rfej
<EFBFBD> d<04>e<01> d<05>YnXddl mZmZmZmZddlmZe<08><14>ejdd ej<16>e<00><18>d
<EFBFBD>ejd d <0C>d d<0E>ejddde<08>dddg<03>dd<0E>ejed<15>ejdd<17><00><01><01><01><01>Ze<1D><1E>ejdd<19><00><01>Ze<1D><1E>ejej dd d<1B>ej dd d<1B>dd<1E><00><01><01><01>Z!e<1D><1E>ejej dd d<1B>dd <20><00><01><01>Z"e<1D><1E>ejej dd d<1B>d!d"<22><00><01><01>Z#ejd#d id$<24>ejej d%d&ej$d'<27>d(d)<29><00><01><01>Z%d*d+<2B>Z&e'd,k<02>r<>e<1D>dS)-<2D>N)<01>Popen)<03>Any<6E>Dict<63>ListzkIt seems python-dotenv is not installed with cli option.
Run pip install "python-dotenv[cli]" to fix this.<2E>)<04> dotenv_values<65>get_key<65>set_key<65> unset_key)<01> __version__z-fz--filez.envT)<01>existszNLocation of the .env file, defaults to .env file in current working directory.)<03>default<6C>type<70>helpz-qz--quote<74>always<79>never<65>autozbWhether to quote or not the variable values. Default mode is always. This does not affect parsing.)<01>versioncCsi|_||jd<||jd<dS)zAThis script is used to set, get or unset values from a .env file.<2E>FILE<4C>QUOTEN)<01>obj)<03>ctx<74>file<6C>quote<74>r<00>5/tmp/pip-install-h5md9nkv/python-dotenv/dotenv/cli.py<70>clis 
rcCs>|jd}t|<01>}x&|<02><02>D]\}}t<03>d||f<00>qWdS)z!Display all the stored key/value.rz%s=%sN)rr<00>items<6D>click<63>echo)rr<00>dotenv_as_dict<63>k<>vrrr<00>list"s
r#<00>key)<01>required<65>valuecCsL|jd}|jd}t||||<04>\}}}|r@t<02>d||f<00>ntd<04>dS)zStore the given key/value.rrz%s=%srN)rr rr<00>exit)rr$r&rr<00>successrrr<00>set-s 

r)cCs8|jd}t||<01>}|r,t<02>d||f<00>ntd<03>dS)z%Retrieve the value for the given key.rz%s=%srN)rrrrr')rr$rZ stored_valuerrr<00>get=s


r*cCsD|jd}|jd}t|||<03>\}}|r8t<02>d|<00>ntd<04>dS)zRemoves the given key.rrzSuccessfully removed %srN)rr
rrr')rr$rrr(rrr<00>unsetKs 

r+Zignore_unknown_options)Zcontext_settings<67> commandline<6E><65><EFBFBD><EFBFBD><EFBFBD>)<02>nargsrcCs>|jd}t|<02>}|s(t<02>d<02>td<03>t||<03>}t|<04>dS)z/Run command with environment variables present.rzNo command given.rN)rrrrr'<00> run_command)rr,rr <00>retrrr<00>runZs


r1cCs8tj<01><02>}|<02>|<01>t|ddd|d<04>}|<03><05>\}}|jS)awRun command in sub process.
Runs the command in a sub process with the variables from `env`
added in the current environment variables.
Parameters
----------
command: List[str]
The command and it's parameters
env: Dict
The additional environment variables
Returns
-------
int
The return code of the command
TrF)<04>universal_newlines<65>bufsize<7A>shell<6C>env)<07>os<6F>environ<6F>copy<70>updater<00> communicate<74>
returncode)<05>commandr5Zcmd_env<6E>p<>_rrrr/is

 r/<00>__main__)(r6<00>sys<79>
subprocessr<00>typingrrrr<00> ImportError<6F>stderr<72>writer'<00>mainrrr r
rr <00>group<75>option<6F>path<74>join<69>getcwd<77>PathZChoiceZversion_optionZ pass_contextrr<r#<00>argumentr)r*r+Z UNPROCESSEDr1r/<00>__name__rrrr<00><module>sJ    


 
     #