Skip to content

Commit 9ac2a8f

Browse files
committed
docs(config): update readme
1 parent a5f6e3c commit 9ac2a8f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@
33
The manuals will show all the flags and options which are available for the respective tasks.
44
If you find yourself in a situation where you always define certain flags in order to
55
make the CLI compliant to your project, you can move those definitions also into a file called
6-
`.dynamitrc`. The file will get `require`d if available and can therefore be either a JSON file
7-
or a Node.JS script that exports a hash. You can also use the `--options-path` option to declare a
8-
path to another configuration file.
6+
`.dynamitrc`. The file will get `require`d if available and can therefore be either a JSON file, YAML
7+
or a Node.JS script that exports a hash.
98

109
### Example for a Node.JS script
1110

1211
```js
1312
var path = require('path')
1413

1514
module.exports = {
16-
'migrations-path': path.resolve('db', 'migrate')
15+
migrationsPath: 'db/migrate'
1716
}
1817
```
1918

0 commit comments

Comments
 (0)