File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ This will crate a binary called `zasper`. Now add this binary to your path.
132132Run zasper in any directory to see if the installation was done correctly.
133133
134134```
135- prasunanand@Prasuns-Laptop examples % ../ zasper -h
135+ % zasper -h
136136Usage of ../zasper:
137137 -cwd string
138138 base directory of project (default ".")
@@ -144,8 +144,18 @@ Usage of ../zasper:
144144
145145
146146Go to any directory you want to serve and run ` zasper ` . This starts zasper server in the directory.
147+ ```
148+ % zasper
149+ 2024/12/15 20:39:12 Zasper Server started! Listening on port:8888
147150
151+ ███████╗ █████╗ ███████╗██████╗ ███████╗██████╗
152+ ╚══███╔╝██╔══██╗██╔════╝██╔══██╗██╔════╝██╔══██╗
153+ ███╔╝ ███████║███████╗██████╔╝█████╗ ██████╔╝
154+ ███╔╝ ██╔══██║╚════██║██╔═══╝ ██╔══╝ ██╔══██╗
155+ ███████╗██║ ██║███████║██║ ███████╗██║ ██║
156+ ╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚══════╝╚═╝ ╚═╝
148157
158+ ```
149159
150160Go to ` http://localhost:8888 `
151161
Original file line number Diff line number Diff line change @@ -134,6 +134,15 @@ func main() {
134134 stop := make (chan os.Signal , 1 )
135135 signal .Notify (stop , syscall .SIGINT , syscall .SIGTERM )
136136
137+ fmt .Println (`
138+ ███████╗ █████╗ ███████╗██████╗ ███████╗██████╗
139+ ╚══███╔╝██╔══██╗██╔════╝██╔══██╗██╔════╝██╔══██╗
140+ ███╔╝ ███████║███████╗██████╔╝█████╗ ██████╔╝
141+ ███╔╝ ██╔══██║╚════██║██╔═══╝ ██╔══╝ ██╔══██╗
142+ ███████╗██║ ██║███████║██║ ███████╗██║ ██║
143+ ╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚══════╝╚═╝ ╚═╝
144+ ` )
145+
137146 go func () {
138147 if err := http .ListenAndServe (* port , corsOpts .Handler (router )); err != nil && err != http .ErrServerClosed {
139148 fmt .Printf ("ListenAndServe(): %s\n " , err )
You can’t perform that action at this time.
0 commit comments