<s> import logging <EOL> import os <EOL> import click <EOL> from path import path <EOL> from chanjo import bootstrap as bootstrap_api <EOL> from chanjo . bootstrap . constants import DB_NAME <EOL> from . init import init <EOL> logger = logging . getLogger ( __name__ ) <EOL> @ click . command ( ) <EOL> @ click . option ( '<STR_LIT>' , '<STR_LIT>' , is_flag = True ) <EOL> @ click . argument ( '<STR_LIT>' , default = '<STR_LIT>' , required = False ) <EOL> @ click . pass_context <EOL> def bootstrap ( context , force , directory ) : <EOL> """<STR_LIT>""" <EOL> bootstrap_api . pull ( directory , force = force ) <EOL> config_path = os . path . join ( directory , '<STR_LIT>' ) <EOL> context . obj . config_path = path ( config_path ) <EOL> context . obj [ '<STR_LIT>' ] = path ( directory ) . abspath ( ) . joinpath ( DB_NAME ) <EOL> context . invoke ( init , automate = True ) </s>
