[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 346 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file inc/init.php |
GitToolCLI:: (10 methods):
setup()
main()
cmdClone()
cmdInstall()
cmdGit()
cmdRepos()
downloadExtension()
cloneExtension()
findRepos()
getSourceRepo()
Class: GitToolCLI - X-Ref
Easily manage DokuWiki git repositoriessetup(Options $options) X-Ref |
Register options and arguments on the given $options object param: Options $options return: void |
main(Options $options) X-Ref |
Your main program Arguments and options have been parsed when this is run param: Options $options return: void |
cmdClone($extensions) X-Ref |
Tries to install the given extensions using git clone param: array $extensions |
cmdInstall($extensions) X-Ref |
Tries to install the given extensions using git clone with fallback to install param: array $extensions |
cmdGit($cmd, $arg) X-Ref |
Executes the given git command in every repository param: $cmd param: $arg |
cmdRepos() X-Ref |
Simply lists the repositories |
downloadExtension($ext) X-Ref |
Install extension from the given download URL param: string $ext return: bool|null |
cloneExtension($ext, $repo) X-Ref |
Clones the extension from the given repository param: string $ext param: string $repo return: bool |
findRepos() X-Ref |
Returns all git repositories in this DokuWiki install Looks in root, template and plugin directories only. return: array |
getSourceRepo($extension) X-Ref |
Returns the repository for the given extension param: $extension return: false|string |