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
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
def __init__(self): LeafCommand.__init__(self, "install", "install packages (download + extract)")
def __init__(self): LeafCommand.__init__(self, "manifest", "build a package manifest.json")
def __init__(self): LeafCommand.__init__(self, "status", "print leaf status")
def __init__(self, *args, ip=None, **kwargs): LeafCommand.__init__(self, *args, **kwargs) self.__installedPackage = ip
def __init__(self): LeafCommand.__init__(self, "upgrade", "upgrade packages to latest version")
def __init__(self): LeafCommand.__init__(self, "list", "list installed packages")
def __init__(self): LeafCommand.__init__(self, "help", "read leaf documentation")
def __init__(self): LeafCommand.__init__(self, "inspect", "display information about packages")
def __init__(self): LeafCommand.__init__(self, "enable", "enable a remote repository")
def __init__(self): LeafCommand.__init__(self, "remove", "remove a remote repository")
def __init__(self): LeafCommand.__init__(self, "add", "add a remote repository")
def __init__(self): LeafCommand.__init__(self, "list", "list remote repositories")
def __init__(self): LeafCommand.__init__(self, "fetch", "fetch content from enabled remotes")
def __init__(self): LeafCommand.__init__(self, "prereq", "check prereq packages")
def __init__(self): LeafCommand.__init__(self, "uninstall", "remove packages")
def __init__(self): LeafCommand.__init__(self, "select", "change current profile and install missing packages")
def __init__(self): LeafCommand.__init__(self, "sync", "performs sync operation")
def __init__(self): LeafCommand.__init__(self, "set", "update a setting")
def __init__(self): LeafCommand.__init__(self, "deps", "Build the dependency chain")
def __init__(self): LeafCommand.__init__(self, "reset", "reset a setting")
def __init__(self): LeafCommand.__init__(self, "run", "execute binary provided by installed packages", allow_uargs=True)
def __init__(self): LeafCommand.__init__(self, "list", "list all available settings")
def __init__(self): LeafCommand.__init__(self, "index", "build a repository index.json")
def __init__(self): LeafCommand.__init__(self, "get", "get setting value")
def __init__(self): LeafCommand.__init__(self, "pack", "build a package")
def __init__(self): LeafCommand.__init__(self, "search", "search for available packages")