project

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectConfiguredProject added in v0.1.3

func DetectConfiguredProject() (string, error)

func DetectConfiguredProjectWithOverride added in v0.5.0

func DetectConfiguredProjectWithOverride(explicitProject string) (string, error)

DetectConfiguredProjectWithOverride detects the project (priority: specific project name > .tmporc > git repo > directory name)

func DetectProject

func DetectProject() (string, error)

func FindTmporc

func FindTmporc() (string, error)

func GetGitRepoName

func GetGitRepoName() (string, error)

func GetGitRoot

func GetGitRoot() (string, error)

func GetProjectConfig added in v0.5.0

func GetProjectConfig(projectName string) (*float64, string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL