Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 589 Bytes

git_help_command.md

File metadata and controls

41 lines (23 loc) · 589 Bytes

Git Help

Use the interface: ArtARTs36\GitHandler\Contracts\Commands\GitHelpCommand


Create Instance

use \ArtARTs36\GitHandler\Factory\LocalGitFactory;

$command = (new LocalGitFactory())->factory(__DIR__)->helps();

Features:

* Get git help information

Method Signature:

public function get(): string;

Equals Git Command:

git --help

Example:

use \ArtARTs36\GitHandler\Factory\LocalGitFactory;

(new LocalGitFactory())->factory(__DIR__)->helps()->get();