Example #1
0
 def __init__(self,
              name,
              description,
              profile_nargs=None,
              profile_completer=None):
     LeafCommand.__init__(self, name, description)
     self.profile_nargs = profile_nargs
     self.profile_completer = profile_completer
Example #2
0
 def __init__(self,
              name: str,
              description: str,
              commands: str,
              accept_default: bool = False,
              plugins_manager: LeafPluginManager = None):
     LeafCommand.__init__(self, name, description)
     self.__commands = commands
     self.__accept_default = accept_default
     self.__plugins_manager = plugins_manager
     # Link subcommands to current Meta command
     for c in self.__commands:
         c.parent = self
Example #3
0
 def __init__(self):
     LeafCommand.__init__(self, "install",
                          "install packages (download + extract)")
Example #4
0
 def __init__(self):
     LeafCommand.__init__(self, "manifest", "build a package manifest.json")
Example #5
0
 def __init__(self):
     LeafCommand.__init__(self, "status", "print leaf status")
Example #6
0
 def __init__(self, *args, ip=None, **kwargs):
     LeafCommand.__init__(self, *args, **kwargs)
     self.__installedPackage = ip
Example #7
0
 def __init__(self):
     LeafCommand.__init__(self, "upgrade",
                          "upgrade packages to latest version")
Example #8
0
 def __init__(self):
     LeafCommand.__init__(self, "list", "list installed packages")
Example #9
0
 def __init__(self):
     LeafCommand.__init__(self, "help", "read leaf documentation")
Example #10
0
 def __init__(self):
     LeafCommand.__init__(self, "inspect",
                          "display information about packages")
Example #11
0
 def __init__(self):
     LeafCommand.__init__(self, "enable", "enable a remote repository")
Example #12
0
 def __init__(self):
     LeafCommand.__init__(self, "remove", "remove a remote repository")
Example #13
0
 def __init__(self):
     LeafCommand.__init__(self, "add", "add a remote repository")
Example #14
0
 def __init__(self):
     LeafCommand.__init__(self, "list", "list remote repositories")
Example #15
0
 def __init__(self):
     LeafCommand.__init__(self, "fetch",
                          "fetch content from enabled remotes")
Example #16
0
 def __init__(self):
     LeafCommand.__init__(self, "prereq", "check prereq packages")
Example #17
0
 def __init__(self):
     LeafCommand.__init__(self, "uninstall", "remove packages")
Example #18
0
 def __init__(self):
     LeafCommand.__init__(self, "select", "change current profile and install missing packages")
Example #19
0
 def __init__(self):
     LeafCommand.__init__(self, "sync", "performs sync operation")
Example #20
0
 def __init__(self):
     LeafCommand.__init__(self, "set", "update a setting")
Example #21
0
 def __init__(self):
     LeafCommand.__init__(self, "deps", "Build the dependency chain")
Example #22
0
 def __init__(self):
     LeafCommand.__init__(self, "reset", "reset a setting")
Example #23
0
 def __init__(self):
     LeafCommand.__init__(self,
                          "run",
                          "execute binary provided by installed packages",
                          allow_uargs=True)
Example #24
0
 def __init__(self):
     LeafCommand.__init__(self, "list", "list all available settings")
Example #25
0
 def __init__(self):
     LeafCommand.__init__(self, "index", "build a repository index.json")
Example #26
0
 def __init__(self):
     LeafCommand.__init__(self, "get", "get setting value")
Example #27
0
 def __init__(self):
     LeafCommand.__init__(self, "pack", "build a package")
Example #28
0
 def __init__(self):
     LeafCommand.__init__(self, "search", "search for available packages")