<s> """<STR_LIT>""" <EOL> import getpass <EOL> import os <EOL> import sys <EOL> from websauna . system import SanityCheckFailed <EOL> from websauna . system . devop . cmdline import init_websauna <EOL> def usage ( argv ) : <EOL> cmd = os . path . basename ( argv [ <NUM_LIT:0> ] ) <EOL> print ( '<STR_LIT>' <EOL> '<STR_LIT>' % ( cmd , cmd ) ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> def main ( argv = sys . argv ) : <EOL> if len ( argv ) < <NUM_LIT:2> : <EOL> usage ( argv ) <EOL> config_uri = argv [ <NUM_LIT:1> ] <EOL> try : <EOL> request = init_websauna ( config_uri , sanity_check = True ) <EOL> except SanityCheckFailed : <EOL> print ( "<STR_LIT>" ) <EOL> sys . exit ( <NUM_LIT:10> ) <EOL> print ( "<STR_LIT>" ) <EOL> sys . exit ( <NUM_LIT:0> ) </s>
