gbksoft / shell-command-builder
Shell command builder
Installs: 8 966
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: >=5.6
Requires (Dev)
- phpunit/phpunit: 4.8
This package is not auto-updated.
Last update: 2024-10-26 19:59:02 UTC
README
$cmd = $builder->setCommand(new Command('git')) ->addArgument(new Argument('log')) ->addFlag(new Flag('--color')) ->addFlag(new Flag('--no-merges')) ->addFlag(new Flag('-10')) ->addFlag(new Flag('--')) ->addArgument(new Argument('./')) ->build();
git 'log' --color --no-merges -10 -- './'