Skip to content

Commit

Permalink
updated venice mgmt script
Browse files Browse the repository at this point in the history
  • Loading branch information
juerg committed Jan 14, 2024
1 parent e4b4902 commit 6c53920
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/main/resources/com/github/jlangch/venice/venice.venice
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
(import :com.github.jlangch.venice.EofException)


(defonce version "1.0.0")
(defonce home (io/user-home-dir))
(defonce user (user-name))

(defonce COLORS {
:light { :logo "[38;5;33m"
:status "[38;5;64m"
Expand Down Expand Up @@ -212,8 +208,6 @@
(defn display-info []
(println
"""
Shell: running on ~(host-name)

Configuration:
Gradle: ~(gradlew/version proj-home)
Java version: ~(java-version)
Expand All @@ -235,7 +229,7 @@
(deploy)
(start-repl (first args)))
(match? cmd "s|start") (start-repl (first args))
(match? cmd "c|cheasheet") (gradle-tasks "cheatsheet")
(match? cmd "c|cheatsheet") (gradle-tasks "cheatsheet")
(match? cmd "d|dependencies") (gradle-tasks "dependencies")
(match? cmd "T|tests") (gradle-tasks "clean" "test")
(match? cmd "p|publish") (publish (first args) (second args))
Expand Down Expand Up @@ -290,4 +284,3 @@
(. *REPL* :setHandler (proxify :Consumer { :accept handle-command }))

(display-welcome-msg)

0 comments on commit 6c53920

Please sign in to comment.