Skip to content

Commit 965543c

Browse files
committed
Improve docs
1 parent c38b835 commit 965543c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,36 @@ Example:
8888
rails-diff file Dockerfile --new-app-options="--database=postgresql"
8989
```
9090

91+
#### --skip <files/directories>
92+
93+
Skip specific files or directories during the diff.
94+
95+
```bash
96+
rails-diff generated scaffold Post --skip app/views app/helpers
97+
```
98+
99+
#### --clear-cache/--no-cache
100+
101+
Clear the cache directory to force cloning Rails and regenerating the Rails template app.
102+
103+
```bash
104+
rails-diff file Dockerfile --clear-cache
105+
```
106+
107+
#### --debug
108+
109+
Print debug information.
110+
111+
```sh
112+
rails-diff file Gemfile --debug
113+
```
114+
115+
or with an environment variable:
116+
117+
```sh
118+
DEBUG=1 rails-diff file Gemfile
119+
```
120+
91121
## How it works
92122

93123
When you run the diff, it will:

0 commit comments

Comments
 (0)