File tree 4 files changed +10
-7
lines changed
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:
21
21
22
22
# Installation
23
23
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
25
25
26
26
# [ Contributing] ( CONTRIBUTING.md )
27
27
# Support the Clojure(script) ecosystem
Original file line number Diff line number Diff line change 4
4
:license {:name " Eclipse Public License - v 2.0"
5
5
:url " http://www.eclipse.org/legal/epl-v20.html" }
6
6
:min-bb-version " 0.4.0"
7
+ :src " src/cdg"
7
8
:tasks {clean
8
9
(shell " bash -c"
9
10
" 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 9
9
org.babashka/cli {:mvn/version " 0.8.62" }
10
10
org.babashka/http-client {:mvn/version " 0.4.22" }}})
11
11
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]))
17
18
18
19
; ;; Define CLI options
19
20
@@ -744,4 +745,5 @@ This list is published under Licence Ouverte 2.0 and CC BY.")
744
745
(output-data! )
745
746
(display-data! )))))
746
747
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