Example #1
0
 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)
Example #2
0
    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])
Example #3
0
 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)
Example #4
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.live_install(opts)
Example #5
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.import_entity(opts)
Example #6
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.unpublish(opts)
Example #7
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.poweroff()
Example #8
0
    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])
Example #9
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.unpublish(opts)
Example #10
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.show_properties()
Example #11
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.poweroff()
Example #12
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.resume()
Example #13
0
 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()
Example #14
0
    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()
Example #15
0
    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()
Example #16
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.purchase(opts)
Example #17
0
 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()
Example #18
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.import_entity(opts)
Example #19
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.resume()
Example #20
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.store_push(opts)
Example #21
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.show_properties()
Example #22
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.live_install(opts)
Example #23
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.purchase(opts)
Example #24
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.show(opts)
Example #25
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.store_push(opts)
Example #26
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     return target
Example #27
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     target.show(opts)
Example #28
0
 def call(self, current, opts, args):
     target = paths.change(current, args, opts)
     return target