File tree Expand file tree Collapse file tree
packages/website/src/app/docs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,6 +98,11 @@ Warnings and errors will still be written to `stderr`.
9898react-docgen -o output.json ./src/components/Button.tsx
9999```
100100
101+ <Callout type = " warning" emoji = " " >
102+ The output path is used as provided and may overwrite an existing file, so
103+ only pass trusted paths to this option.
104+ </Callout >
105+
101106The CLI supports a lot more advanced options and for a full list checkout the
102107[ reference page] ( ../reference/cli )
103108
Original file line number Diff line number Diff line change @@ -130,6 +130,11 @@ Enabling this option will disable any of the default ignores specified in the
130130Store extracted information in the specified file instead of printing to
131131` stdout ` . If the file exists it will be overwritten.
132132
133+ <Callout type = " warning" emoji = " " >
134+ The output path is used as provided and may overwrite an existing file, so
135+ only pass trusted paths to this option.
136+ </Callout >
137+
133138** Examples**
134139
135140``` shell filename="Terminal"
You can’t perform that action at this time.
0 commit comments