Added support for rendering the `README.md` file with a markdown parser, allowing users to customize the behavior with new flags. The `-r=false` flag can be used to disable rendering of the README.md file if no file is provided. Updated the `cmd/root.go` file to include the new flags and updated the `pkg/client.go` file to reflect the changes in the client struct.
9 lines
107 B
Go
9 lines
107 B
Go
package pkg
|
|
|
|
type Client struct {
|
|
Dark bool
|
|
OpenBrowser bool
|
|
Port int
|
|
OpenReadme bool
|
|
}
|