mirror of
https://github.com/predis/predis.git
synced 2026-09-01 05:03:28 +00:00
[bin] Drop extension from scripts in the bin directory.
This commit is contained in:
@@ -56,10 +56,10 @@ Predis\Autoloader::register();
|
||||
```
|
||||
|
||||
It is also possible to create a [phar](http://www.php.net/manual/en/intro.phar.php) archive from the
|
||||
repository just by launching `bin/create-phar.php`. The generated phar ships with a stub defining an
|
||||
repository just by launching `bin/create-phar`. The generated phar contains a stub that defines an
|
||||
autoloader function for Predis, so you just need to require the phar to start using the library.
|
||||
Alternatively it is possible to generate one single PHP file holding every class like older versions
|
||||
of Predis by launching `bin/create-single-file.php`, but this practice __is not__ encouraged.
|
||||
of Predis by launching `bin/create-single-file`, but this practice __is not__ encouraged.
|
||||
|
||||
|
||||
### Connecting to Redis ###
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ are considered valid). For example, to generate a test case for `SET` (represent
|
||||
`Predis\Command\StringSet` class):
|
||||
|
||||
```bash
|
||||
$ ./bin/generate-command-test.php --class=StringSet
|
||||
$ ./bin/create-command-test --class=StringSet
|
||||
```
|
||||
Each command has its own realm (commands that operate on strings, lists, sets and such)
|
||||
and this realm is automatically inferred from the name of the specified class. The realm
|
||||
|
||||
Reference in New Issue
Block a user