()
| 9 | ) |
| 10 | |
| 11 | func main() { |
| 12 | path := filepath.Join("docs", "env-variables.md") |
| 13 | var options options.Options |
| 14 | mkd := "\n# Environment Variables\n\n" + options.Markdown() |
| 15 | err := os.WriteFile(path, []byte(mkd), 0o644) |
| 16 | if err != nil { |
| 17 | panic(err) |
| 18 | } |
| 19 | fmt.Printf("%s updated successfully with the latest flags!\n", path) |
| 20 | } |