(root *rootCmd)
| 123 | type formatCmd struct{} |
| 124 | |
| 125 | func (c *formatCmd) Run(root *rootCmd) error { |
| 126 | filename, opsFile, err := root.opsFile() |
| 127 | if err != nil { |
| 128 | return err |
| 129 | } |
| 130 | return opsFile.saveFile(filename) |
| 131 | } |
| 132 | |
| 133 | type updateGoCmd struct{} |
| 134 |