diff --git a/README.md b/README.md index 7223663..c4abc84 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,10 @@ CLI util to operate with large objects in small blocks size export FS object to blockchain namespace ``` -php driver/put.php processor filename [length] +php kevacoin/put.php processor filename [length] ``` -* `processor` - path to kevacoin-cli +* `processor` - path to `kevacoin-cli` * `filename` - file path to store in blockchain * `length` - optional split size, 3072 bytes [max](https://kevacoin.org/faq.html) @@ -23,9 +23,9 @@ php driver/put.php processor filename [length] import namespace to FS location ``` -php driver/get.php processor namespace [destination] +php kevacoin/get.php processor namespace [destination] ``` -* `processor` - path to kevacoin-cli +* `processor` - path to `kevacoin-cli` * `namespace` - hash received from the `put` command * `destination` - optional file system location, `data/import` by default \ No newline at end of file diff --git a/drivers/kevacoin/get.php b/kevacoin/get.php similarity index 96% rename from drivers/kevacoin/get.php rename to kevacoin/get.php index 9f1233e..b2f248d 100644 --- a/drivers/kevacoin/get.php +++ b/kevacoin/get.php @@ -68,7 +68,7 @@ ksort($data); // Save merged data to destination $filename = isset($argv[3]) ? $argv[3] : sprintf( - '%s/../../data/import/kevacoin.%s.%s', + '%s/../data/import/kevacoin.%s.%s', __DIR__, $argv[2], $names[array_key_first($names)] diff --git a/drivers/kevacoin/put.php b/kevacoin/put.php similarity index 100% rename from drivers/kevacoin/put.php rename to kevacoin/put.php