def call(self, current, opts, args): target = paths.change(current, args, opts) target.add(raw=opts.raw, populate=opts.populate, default=opts.default, test=opts.test, flavor=opts.flavor)
def call(self, current, opts, args): if len(args) < 2: raise Exception( "You must provide 2 arguments: a target and the path to a local file" ) target = paths.change(current, args, opts) target.set_content(args[1])
def call(self, current, opts, args): target = paths.change(current, args, opts) target.add(raw = opts.raw, populate = opts.populate, default = opts.default, test = opts.test, flavor = opts.flavor)
def call(self, current, opts, args): target = paths.change(current, args, opts) target.live_install(opts)
def call(self, current, opts, args): target = paths.change(current, args, opts) target.import_entity(opts)
def call(self, current, opts, args): target = paths.change(current, args, opts) target.unpublish(opts)
def call(self, current, opts, args): target = paths.change(current, args, opts) target.poweroff()
def call(self, current, opts, args): if len(args) < 2: raise Exception("You must provide 2 arguments: a target and the path to a local file") target = paths.change(current, args, opts) target.set_content(args[1])
def call(self, current, opts, args): target = paths.change(current, args, opts) target.show_properties()
def call(self, current, opts, args): target = paths.change(current, args, opts) target.resume()
def call(self, current, opts, args): target = paths.change(current, args, opts) if len(args) > 1: target.show_content(args[1]) else: target.show_content()
def call(self, current, opts, args): target = paths.change(current, args, opts) if opts.force or (prompt.confirm(prompt="Delete target?", resp=False)): target.delete()
def call(self, current, opts, args): target = paths.change(current, args, opts) if opts.force or (prompt.confirm(prompt = "Delete target?", resp = False)) : target.delete()
def call(self, current, opts, args): target = paths.change(current, args, opts) target.purchase(opts)
def call(self, current, opts, args): target = paths.change(current, args, opts) target.store_push(opts)
def call(self, current, opts, args): target = paths.change(current, args, opts) target.show(opts)
def call(self, current, opts, args): target = paths.change(current, args, opts) return target