Skip to content

Commit 1a46708

Browse files
committed
Simplify usage example syntax.
1 parent bc3785e commit 1a46708

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ A CakePHP plugin that provides a Shell to read an app's Configure vars from the
2424

2525
```shell
2626
$ cd path/to/app/
27-
$ ./bin/cake config_read.config_read Key.Name
27+
$ ./bin/cake ConfigRead Key.Name
2828
'foo'
2929
```
3030

3131
### Format as a bash variable definition
3232

3333
```shell
34-
$ ./bin/cake config_read.config_read Key.Name Second.Key
34+
$ ./bin/cake ConfigRead Key.Name Second.Key
3535
KEY_NAME='foo'
3636
SECOND_KEY_FIRST='bar'
3737
SECOND_KEY_SECOND='baz'
@@ -41,7 +41,7 @@ SECOND_KEY_THIRD='42'
4141
Note that this format is automatically used whenever more than one key is returned. For example, if you request a key that contains an array, all values in the array will be returned sequentially. Alternatively, if you pass multiple keys on the command line, they will be returned. The format can also be forced using the `-b` or `--bash` command line switch:
4242

4343
```shell
44-
$ ./bin/cake config_read.config_read -b Key.Name
44+
$ ./bin/cake ConfigRead -b Key.Name
4545
KEY_NAME='foo'
4646
```
4747

0 commit comments

Comments
 (0)