rodo/config.rkt

35 lines
814 B
Racket
Raw Normal View History

2019-11-13 15:51:28 +00:00
#lang racket/base
(provide (all-defined-out))
2019-11-13 21:00:45 +00:00
(define list-file "todo.txt")
(define program-name "rodo")
2019-11-13 21:00:45 +00:00
2019-11-04 02:32:11 +00:00
(define program-directory
(path->string
2019-11-13 21:00:45 +00:00
(expand-user-path
(string-append "~/." program-name "/"))))
2019-11-04 02:32:11 +00:00
(define path-to-list-file
(string-append program-directory list-file))
2019-11-13 21:00:45 +00:00
(define help-command '("-h"
"--help"
"h"
"help"))
(define initialize-command '("init"
"create"
"start"
"begin"))
(define add-command '("add"
"a"))
(define list-command '("ls"
"list"))
(define remove-command '("rm"
"remove"
"del"
"delete"))