File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ This should take care of installing all you need:
2121
2222# Installation
2323
24- bbin install https://raw.githubusercontent.com/ codegouvfr/codegouvfr-cli/refs/heads/main/codegouvfr- output-data.clj
24+ bbin install io.github. codegouvfr/codegouvfr-output-data
2525
2626# [ Contributing] ( CONTRIBUTING.md )
2727# Support the Clojure(script) ecosystem
Original file line number Diff line number Diff line change 44 :license {:name " Eclipse Public License - v 2.0"
55 :url " http://www.eclipse.org/legal/epl-v20.html" }
66 :min-bb-version " 0.4.0"
7+ :src " src/cdg"
78 :tasks {clean
89 (shell " bash -c"
910 " rm -rf awesome*md *json *xml *csv *yml src/*json src/*xml src/*csv src/*yml src/*md" )}}
Original file line number Diff line number Diff line change 99 org.babashka/cli {:mvn/version " 0.8.62" }
1010 org.babashka/http-client {:mvn/version " 0.4.22" }}})
1111
12- (require '[clj-rss.core :as rss]
13- '[clojure.tools.logging :as log]
14- '[babashka.cli :as cli]
15- '[clojure.walk :as walk]
16- '[babashka.http-client :as http])
12+ (ns cdg.codegoufr-output-data
13+ (:require [clj-rss.core :as rss]
14+ [clojure.tools.logging :as log]
15+ [babashka.cli :as cli]
16+ [clojure.walk :as walk]
17+ [babashka.http-client :as http]))
1718
1819; ;; Define CLI options
1920
@@ -744,4 +745,5 @@ This list is published under Licence Ouverte 2.0 and CC BY.")
744745 (output-data! )
745746 (display-data! )))))
746747
747- (-main *command-line-args*)
748+ (when (= *file* (System/getProperty " babashka.file" ))
749+ (apply -main *command-line-args*))
You can’t perform that action at this time.
0 commit comments