Documentation
¶
Index ¶
- func GetLastPluginCheck(pluginName string) time.Time
- func HasCompletedDotenvSetup(repoRoot string) bool
- func SetLastPluginCheck(pluginName string)
- func UpdateAfterDotenvSetup(repoRoot string) error
- func UpdateAfterSuccessfulRun(repoRoot string) error
- func UpdateAfterTemplatesSetup(repoRoot string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLastPluginCheck ¶ added in v0.2.54
GetLastPluginCheck returns the last time an update check was performed for the given plugin. Returns the zero time if the plugin has never been checked.
func HasCompletedDotenvSetup ¶
HasCompletedDotenvSetup checks if dotenv setup has been completed in the past. If force-interactive flag is set, this always returns false to force re-execution.
func SetLastPluginCheck ¶ added in v0.2.54
func SetLastPluginCheck(pluginName string)
SetLastPluginCheck records the current time as the last update-check time for a plugin. Errors are silently ignored — failing to persist state should never block plugin execution.
func UpdateAfterDotenvSetup ¶
UpdateAfterDotenvSetup updates the state file after a successful `dr dotenv setup` run.
func UpdateAfterSuccessfulRun ¶
UpdateAfterSuccessfulRun creates or updates the state file after a successful `dr start` run.
func UpdateAfterTemplatesSetup ¶ added in v0.2.9
UpdateAfterTemplatesSetup updates the state file after a successful `dr templates setup` run.
Types ¶
This section is empty.