feat(basecamp-cli): add installer#1082
Merged
Merged
Conversation
2bf4c8f to
ec9606a
Compare
20 tasks
ec9606a to
64d6e2f
Compare
Co-authored-by: AJ ONeal <aj@therootcompany.com>
64d6e2f to
7d6a01c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
releases.js,install.sh,install.ps1, andREADME.mdtest/install.shper contributing guidelinesDetails
releases.js: Fetches from
basecamp/basecamp-cliGitHub releases. Filters out.deb,.rpm,.apk,.sbom.json,checksums.txt*,.pem,.sig, and.bundleassets — keeping only the.tar.gzand.ziparchives.install.sh: Installs the bare
basecampbinary from the archive root to~/.local/opt/basecamp-cli-v$VERSION/bin/basecamp. Also copies the bundled shell completions (completions/) to the versioned opt directory. Parsesbasecamp version X.Y.Zfor version detection.install.ps1: Windows equivalent — extracts zip, installs
basecamp.exe, copies completions.README.md: Cheat sheet covers auth setup, listing projects/todos, creating and completing todos, posting messages, moving cards through workflow columns, per-project config (
.basecamp/config.json), and shell completion setup.test/install.sh: Added
basecamp-clito the rm/opt list andbasecampto the rm/bin list, andbasecamp-clito thewebitest list — all in alphabetical order.Checklist
npm run fmt(prettier + shfmt pass; pwsh-fmt skipped — no pwsh installed locally)npm run lint(jshint + shellcheck pass; pwsh-lint skipped)releases.jsoutput — versions are clean semver, OS/arch detected correctly, download URLs resolvetest/install.sh