init MCP server
This commit is contained in:
parent
fff03fa0d5
commit
8ea0eee299
11 changed files with 253 additions and 21 deletions
9
src/cli/config.clj
Normal file
9
src/cli/config.clj
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(ns cli.config
|
||||
(:require
|
||||
[babashka.fs :as fs]
|
||||
[clojure.string :as str]))
|
||||
|
||||
(def config
|
||||
(let [project-root (str/join "/" (drop-last 3 (fs/components *file*)))
|
||||
config-file-path (format "/%s/config.edn" project-root)]
|
||||
(read-string (slurp config-file-path))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue