Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Comment on lines +9 to +13
: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,
Expand Down
9 changes: 8 additions & 1 deletion oci/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <args>` appends <args>
# 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.
Comment on lines +32 to +38
ENV LINEAR_CLI_DAEMON=true
ENTRYPOINT ["/usr/local/bin/lc"]
CMD ["/usr/local/bin/lc"]
Loading