---
rarangi.go | 46 +++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/rarangi.go b/rarangi.go
index 77bb835..25a23e9 100644
--- a/rarangi.go
+++ b/rarangi.go
@@ -96,29 +96,29 @@ func initialModel() model {
func printHelp() {
s := termenv.String("stylish").Foreground(cprof.Color("5"))
fmt.Printf("\n Simple and %s todo TUI in Go\n\n", s)
- fmt.Println("USAGE")
- fmt.Println(" $ rarangi path/to/file.txt")
- fmt.Println("")
- fmt.Println(" The whole idea behind rārangi is to be incredibly simple.")
- fmt.Println(" Call the executable and provide the path to a text file. The")
- fmt.Println(" file should contain a bulleted list with + for complete tasks")
- fmt.Println(" and - for incomplete tasks. A title is optional and can be")
- fmt.Println(" included by using # in the first line followed by a space and")
- fmt.Println(" and then the title. Empty lines are ignored.")
- fmt.Println("")
- fmt.Println("Example file:")
- fmt.Println(" # List title")
- fmt.Println(" - First incomplete task")
- fmt.Println(" - Second incomplete task")
- fmt.Println("")
- fmt.Println(" + First complete task")
- fmt.Println(" + Second complete task")
- fmt.Println("")
- fmt.Println("Flags:")
- fmt.Println(" --help, -h Print this message")
- fmt.Println("")
- fmt.Println("Commands:")
- fmt.Println(" help Print this message")
+ fmt.Println(`USAGE
+ $ rarangi path/to/file.txt
+
+ The whole idea behind rārangi is to be incredibly simple.
+ Call the executable and provide the path to a text file. The
+ file should contain a bulleted list with + for complete tasks
+ and - for incomplete tasks. A title is optional and can be
+ included by using # in the first line followed by a space and
+ and then the title. Empty lines are ignored.
+
+Example file:
+ # List title
+ - First incomplete task
+ - Second incomplete task
+
+ + First complete task
+ + Second complete task
+
+Flags:
+ --help, -h Print this message
+
+Commands:
+ help Print this message`)
}
func (m model) Init() tea.Cmd {
--
2.33.1