Commit be76a23
Skip README generation when package installation is skipped
When --skip-install is used, the package is not installed, so commands won't be loaded. This would cause package-readme to fail with the missing commands error. Instead, we now skip README generation with a warning message explaining that commands must be loaded for complete documentation.
Users who want to skip installation but still generate a README can manually run 'wp scaffold package-readme' after ensuring commands are loaded via wp-cli.yml or package installation.
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>1 parent 99cd149 commit be76a23
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | 148 | | |
150 | | - | |
151 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| |||
0 commit comments