   (:require [ctia.init :refer [start-ctia!]]
             [clojure.java.io :as io]
             [clojure.java.shell :as shell]
-            [ctia.properties :refer [properties]]))
+            [ctia.properties :refer [properties]]
+            [clojure.string :as str]))
 
 ;; swagger codegen package
 (def codegen-version "2.1.6")

  "base command for all languages"
  [lang output-dir]
  ["java"
   "-jar"
   local-jar-uri
   "generate"
   "-i" (spec-uri)
   "-l" (name lang)
   "--group-id" "cisco"
   "-o" (str (or output-dir "/tmp/ctia-client") "/" (name lang))
   "--api-package" artifact-id
   "--artifact-id" artifact-id
   "--artifact-version" artifact-version])



   :python {:packageName artifact-id
            :packageVersion artifact-version}
   :haskell-servant {:apiVersion artifact-version
                     :title "CTIA Client"
                     :titleLower "ctia client"
                     :package "CTIAClient"
                     :baseNamespace "CTIAClient"
                     :modelpackage "CTIAClient"
                     :artifact-id "CTIAClient"}
   :ruby {:gemName artifact-id
          :gemVersion artifact-version
          :gemHomepage "http://github.com/threatgrid/ctia"
