Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// List of sources to be used by the finder
Sources []finder.Source
// Flag to indicate if output should be expanded
// Useful to hide the user's home directory
ExpandOutput bool
// Flag to indicate if measurement should be performed
Measure bool
// Flag to list results
List bool
// Selector for displaying the projects
Selector string
// Flag to display only unique projects.
Unique bool
// Type of sorting.
Sort string
}
Config represents the configuration structure for the application.
func Load ¶
func Load(params *LoadParams) (*Config, error)
Load reads the configuration from a JSON file at the specified path.
type LoadParams ¶
Click to show internal directories.
Click to hide internal directories.