From 8b277e6766c82a3df2e58689d2a5233d46c47845 Mon Sep 17 00:00:00 2001 From: 0 Date: Mon, 7 Aug 2017 03:43:15 +0200 Subject: [PATCH] update documentation --- .gitignore | 2 +- README.md | 10 ++++++---- test.php | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 33b2c59..3fe5d03 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -themes/ +downloaded/ vendor/ *.lock diff --git a/README.md b/README.md index 8779e24..8183206 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,15 @@ $ composer require wbadrh/git-dl ``` ```php -$git = new GitDownload(__DIR__ . '/themes'); +clone($author, $repository, $branch); ``` -Would download in: themes/BlackrockDigital/startbootstrap-agency/ +Would download in: downloaded/wbadrh/git-dl/ diff --git a/test.php b/test.php index f8af516..c751207 100644 --- a/test.php +++ b/test.php @@ -2,10 +2,10 @@ require __DIR__ . '/vendor/autoload.php'; -$git = new GitDownload(__DIR__ . '/themes'); +$git = new GitDownload(__DIR__ . '/downloaded'); -$author = 'BlackrockDigital'; -$repository = 'startbootstrap-agency'; +$author = 'wbadrh'; +$repository = 'git-dl'; $branch = 'master'; $git->clone($author, $repository, $branch);