This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-24
Channels
- # announcements (3)
- # babashka (23)
- # beginners (35)
- # cider (3)
- # clara (3)
- # clj-kondo (14)
- # cljdoc (1)
- # cljs-dev (1)
- # clojure (82)
- # clojure-austin (9)
- # clojure-europe (5)
- # clojurescript (23)
- # conjure (62)
- # cursive (73)
- # defnpodcast (1)
- # emacs (3)
- # ethereum (1)
- # gratitude (1)
- # hyperfiddle (12)
- # introduce-yourself (1)
- # leiningen (2)
- # lsp (44)
- # malli (7)
- # polylith (2)
- # portal (17)
- # re-frame (5)
- # reitit (3)
- # sci (8)
- # shadow-cljs (5)
- # tools-build (11)
neil v0.0.25 now has a license
subcommand:
$ neil license list
:key agpl-3.0 :name GNU Affero General Public License v3.0
:key apache-2.0 :name Apache License 2.0
:key bsd-2-clause :name BSD 2-Clause "Simplified" License
:key bsd-3-clause :name BSD 3-Clause "New" or "Revised" License
:key mit :name MIT License
...
$ neil license add mit
$ less LICENSE
MIT License
Copyright (c) [year] [fullname]
Thanks @highpressurecarsalesm🎉 4
@highpressurecarsalesm Do you think it makes sense to make the output readable? E.g. this has an undesirable effect:
./neil license list | fzf | xargs bb -e "*command-line-args*"
(":key" "bsd-3-clause" ":name" "BSD" "3-Clause" "New" "or" "Revised" "License")
(not sure if that works, quoting is probably a better idea, but needs to be tested with different shells probably)
I didn't maintain the keyword names, so piping back in is sort of non-trivial, but with pr-str that can be remedied easily
I can either rename :key
to :license
in the output, or take (or :key :license)
as input to license add