internal

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func FileExists

func FileExists(path string) (bool, error)

FileExists checks if a file exists and is not a directory before we try using it to prevent further errors.

func GetInteractiveBooleanPrompt

func GetInteractiveBooleanPrompt(label string) (*promptui.Prompt, error)

func GetTodofile

func GetTodofile(path string) (*todo.TodoFile, error)

func SaveTodoFile

func SaveTodoFile(t *todo.TodoFile) error

Save and Close the file

Types

This section is empty.

Jump to

Keyboard shortcuts

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