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