Esempio n. 1
0
def warehouse_remove(args, w,config):
    from functools import partial
    from databundles.util import init_log_rate

    w.logger = Logger('Warehouse Remove',init_log_rate(prt,N=2000))
    
    w.remove_by_name(args.term )
Esempio n. 2
0
def warehouse_install(args, w,config):
    from ..library import new_library
    from functools import partial
    from databundles.util import init_log_rate
    
    if not w.exists():
        w.create()

    l = new_library(config.library(args.library))
    w.resolver = Resolver(l)
    w.logger = Logger('Warehouse Install',init_log_rate(prt,N=2000))
 
    w.install_by_name(args.term )