Documentation
¶
Index ¶
- func DetectConfiguredProject() (string, error)
- func DetectConfiguredProjectWithOverride(explicitProject string) (string, error)
- func DetectProject() (string, error)
- func FindTmporc() (string, error)
- func GetGitRepoName() (string, error)
- func GetGitRoot() (string, error)
- func GetProjectConfig(projectName string) (*float64, string, error)
- func IsInGitRepo() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectConfiguredProject ¶ added in v0.1.3
func DetectConfiguredProjectWithOverride ¶ added in v0.5.0
DetectConfiguredProjectWithOverride detects the project (priority: specific project name > .tmporc > git repo > directory name)
func DetectProject ¶
func FindTmporc ¶
func GetGitRepoName ¶
func GetGitRoot ¶
func GetProjectConfig ¶ added in v0.5.0
GetProjectConfig retrieves project configuration for a given project name. Returns hourly rate and export path if configured
func IsInGitRepo ¶
func IsInGitRepo() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.