2022-11-30 19:45:13 +00:00
|
|
|
package types
|
|
|
|
|
2022-12-01 06:15:34 +00:00
|
|
|
// Config represents the LURE configuration file
|
2022-11-30 19:45:13 +00:00
|
|
|
type Config struct {
|
2022-12-03 06:10:03 +00:00
|
|
|
RootCmd string `toml:"rootCmd"`
|
|
|
|
PagerStyle string `toml:"pagerStyle"`
|
|
|
|
Repos []Repo `toml:"repo"`
|
2022-11-30 19:45:13 +00:00
|
|
|
}
|
|
|
|
|
2022-12-01 06:15:34 +00:00
|
|
|
// Repo represents a LURE repo within a configuration file
|
2022-11-30 19:45:13 +00:00
|
|
|
type Repo struct {
|
|
|
|
Name string `toml:"name"`
|
|
|
|
URL string `toml:"url"`
|
|
|
|
}
|