pull/9/head
Matthew Butterick 11 years ago
parent 99ce034250
commit 0db3229464

@ -1,14 +1,15 @@
#lang racket/base #lang racket/base
(require pollen/world)
(provide (all-defined-out)) (provide (all-defined-out))
(define (handle-help) (define (handle-help)
`(displayln "Pollen commands: `(displayln (format "Pollen commands:
help show this message help show this message
start [dir] starts project server in dir (default is current dir) start [dir] [port] starts project server in dir (default is current dir)
(default port is ~a)
render [dir] render project in dir (default is current dir) render [dir] render project in dir (default is current dir)
render path render file render path render file
clone copy project to desktop without source files")) clone copy project to desktop without source files" ,(world:current-server-port))))
(define (handle-render dir-or-path [port #f]) (define (handle-render dir-or-path [port #f])
`(begin `(begin

Loading…
Cancel
Save