From d6cd981cd16320de979b0a96b723fb875a9677c5 Mon Sep 17 00:00:00 2001 From: "Tj (bougyman) Vanderpoel" Date: Sun, 9 Aug 2026 21:38:00 -0400 Subject: [PATCH] fix!(docs): updates readme with better admonitions --- Readme.adoc | 7 +++++++ oci/Containerfile | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Readme.adoc b/Readme.adoc index 4650336..4a81cd0 100644 --- a/Readme.adoc +++ b/Readme.adoc @@ -6,6 +6,13 @@ :tip-caption: 💡 :note-caption: 📝 :experimental: +ifdef::env-github[] +:tip-caption: :bulb: +:note-caption: :information_source: +:important-caption: :heavy_exclamation_mark: +:caution-caption: :fire: +:warning-caption: :warning: +endif::[] :conventional-commits: https://www.conventionalcommits.org/en/v1.0.0/[Conventional Commits] A command line interface to https://linear.app - list, take, create, develop, diff --git a/oci/Containerfile b/oci/Containerfile index 50c17ef..e2b6ba5 100644 --- a/oci/Containerfile +++ b/oci/Containerfile @@ -29,5 +29,12 @@ COPY bin/lcreate bin/lcls bin/lclose bin/lcomment bin/lproj /usr/local/bin/ RUN chmod +x /usr/local/bin/lc /usr/local/bin/lcreate /usr/local/bin/lcls \ /usr/local/bin/lclose /usr/local/bin/lcomment /usr/local/bin/lproj +# CMD, not ENTRYPOINT: `docker/podman run image ` appends +# after an ENTRYPOINT rather than replacing it, so `run image lcls` was +# actually executing `lc lcls` - never reaching the lcls wrapper script +# at all. CMD gets fully replaced by any run-time args instead, so +# `run image` (no args) still boots the daemon (LINEAR_CLI_DAEMON=true +# makes lc itself become the daemon regardless of argv) and +# `run image lcls`/`run image lc issue list` run exactly that command. ENV LINEAR_CLI_DAEMON=true -ENTRYPOINT ["/usr/local/bin/lc"] +CMD ["/usr/local/bin/lc"]