Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 3
0
 def __init__(self):
     LeafCommand.__init__(self, "install",
                          "install packages (download + extract)")
Ejemplo n.º 4
0
 def __init__(self):
     LeafCommand.__init__(self, "manifest", "build a package manifest.json")
Ejemplo n.º 5
0
 def __init__(self):
     LeafCommand.__init__(self, "status", "print leaf status")
Ejemplo n.º 6
0
 def __init__(self, *args, ip=None, **kwargs):
     LeafCommand.__init__(self, *args, **kwargs)
     self.__installedPackage = ip
Ejemplo n.º 7
0
 def __init__(self):
     LeafCommand.__init__(self, "upgrade",
                          "upgrade packages to latest version")
Ejemplo n.º 8
0
 def __init__(self):
     LeafCommand.__init__(self, "list", "list installed packages")
Ejemplo n.º 9
0
 def __init__(self):
     LeafCommand.__init__(self, "help", "read leaf documentation")
Ejemplo n.º 10
0
 def __init__(self):
     LeafCommand.__init__(self, "inspect",
                          "display information about packages")
Ejemplo n.º 11
0
 def __init__(self):
     LeafCommand.__init__(self, "enable", "enable a remote repository")
Ejemplo n.º 12
0
 def __init__(self):
     LeafCommand.__init__(self, "remove", "remove a remote repository")
Ejemplo n.º 13
0
 def __init__(self):
     LeafCommand.__init__(self, "add", "add a remote repository")
Ejemplo n.º 14
0
 def __init__(self):
     LeafCommand.__init__(self, "list", "list remote repositories")
Ejemplo n.º 15
0
 def __init__(self):
     LeafCommand.__init__(self, "fetch",
                          "fetch content from enabled remotes")
Ejemplo n.º 16
0
 def __init__(self):
     LeafCommand.__init__(self, "prereq", "check prereq packages")
Ejemplo n.º 17
0
 def __init__(self):
     LeafCommand.__init__(self, "uninstall", "remove packages")
Ejemplo n.º 18
0
 def __init__(self):
     LeafCommand.__init__(self, "select", "change current profile and install missing packages")
Ejemplo n.º 19
0
 def __init__(self):
     LeafCommand.__init__(self, "sync", "performs sync operation")
Ejemplo n.º 20
0
 def __init__(self):
     LeafCommand.__init__(self, "set", "update a setting")
Ejemplo n.º 21
0
 def __init__(self):
     LeafCommand.__init__(self, "deps", "Build the dependency chain")
Ejemplo n.º 22
0
 def __init__(self):
     LeafCommand.__init__(self, "reset", "reset a setting")
Ejemplo n.º 23
0
 def __init__(self):
     LeafCommand.__init__(self,
                          "run",
                          "execute binary provided by installed packages",
                          allow_uargs=True)
Ejemplo n.º 24
0
 def __init__(self):
     LeafCommand.__init__(self, "list", "list all available settings")
Ejemplo n.º 25
0
 def __init__(self):
     LeafCommand.__init__(self, "index", "build a repository index.json")
Ejemplo n.º 26
0
 def __init__(self):
     LeafCommand.__init__(self, "get", "get setting value")
Ejemplo n.º 27
0
 def __init__(self):
     LeafCommand.__init__(self, "pack", "build a package")
Ejemplo n.º 28
0
 def __init__(self):
     LeafCommand.__init__(self, "search", "search for available packages")