This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-03
Channels
- # announcements (6)
- # babashka (14)
- # beginners (17)
- # biff (3)
- # calva (19)
- # circleci (3)
- # clj-on-windows (1)
- # cljdoc (21)
- # cljs-dev (6)
- # clojure (119)
- # clojure-australia (2)
- # clojure-europe (28)
- # clojure-france (3)
- # clojure-norway (12)
- # clojure-survey (2)
- # clojure-uk (7)
- # clojurescript (25)
- # core-typed (1)
- # cursive (11)
- # datomic (53)
- # emacs (14)
- # events (1)
- # gratitude (1)
- # holy-lambda (21)
- # integrant (2)
- # jobs (1)
- # jobs-discuss (3)
- # juxt (3)
- # kaocha (1)
- # lsp (17)
- # nbb (14)
- # off-topic (25)
- # pathom (11)
- # re-frame (24)
- # releases (1)
- # remote-jobs (2)
- # rewrite-clj (10)
- # shadow-cljs (11)
- # sql (3)
- # tools-build (6)
- # tools-deps (83)
- # vim (26)
- # xtdb (10)
Added more features to babashka CLI today: https://github.com/babashka/cli#quickstart
Neat! I see Windows mentioned in the README. Is making cmd line parsing on that platform perhaps a bit more sane part of the rationale?
Oh I see you just mentioned this over at #clj-on-windows! Maybe it should be in your README rationale too?
I'm currently thinking about this:
(:opts (cli/parse-args ["--paths.0" "src" "--paths.1 "test"]))
;;=> {:paths ["src" "test"]}
To explain why, see here (the last remarks): https://github.com/babashka/cli#antq
Cool that it supports both : and -- syntaxes. I've been using docopt by default for a while now, will I be swayed to use yet another borknovation?
Parking that idea with future ideas for now: https://github.com/babashka/cli#future-ideas
Added another example for clj-new: https://github.com/babashka/cli#clj-new