We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d848eb6 commit 1d9739aCopy full SHA for 1d9739a
CHANGELOG.md
@@ -1,10 +1,8 @@
1
# Unreleased
2
3
-## Added
4
-
5
## Fixed
6
7
-## Changed
+- Fix completion when no docstring is present
8
9
# 1.25.107 (2025-10-16 / 678a49c)
10
src/lambdaisland/cli/completions.clj
@@ -20,7 +20,7 @@
20
cmdspec
21
(butlast (next argv)))]
22
(doseq [[cmd {:keys [doc]}] (cmdspec/prepare-cmdpairs (:commands cmdspec))]
23
- (println (str cmd (when doc ":") (first (str/split doc #"\R")))))
+ (println (str cmd (when doc (str ":" (first (str/split doc #"\R")))))))
24
(doseq [[flag {:keys [doc]}] (:flagmap cmdspec)]
25
(println (str flag ":" (or doc (str/replace flag #"^-+" "")))))))
26
0 commit comments