Skip to content

chore: rename crate to betterstack-cli, add crates.io publish#30

Merged
sounak98 merged 4 commits intomainfrom
docs/readme-naming
Mar 8, 2026
Merged

chore: rename crate to betterstack-cli, add crates.io publish#30
sounak98 merged 4 commits intomainfrom
docs/readme-naming

Conversation

@sounak98
Copy link
Owner

@sounak98 sounak98 commented Mar 8, 2026

Summary

  • Rename crate from bs-cli to betterstack-cli so the package name matches the repo (binary remains bs)
  • Add cargo publish job to release workflow, publishes to crates.io on every release
  • Update README: title clarifies project name vs binary name, crates.io badge, cargo install betterstack-cli
  • Update all source and test imports from bs_cli:: to betterstack_cli::

Setup required

  • Add CARGO_REGISTRY_TOKEN secret to repo settings (scopes: publish-new, publish-update)

Test plan

  • cargo build succeeds
  • All 71 tests pass
  • Binary is still called bs
  • No stale bs-cli or bs_cli references remain

sounak98 added 4 commits March 8, 2026 09:52
The repo is betterstack-cli but the binary is bs. Add cargo install
from crates.io as the primary Cargo install method.
Add a publish job to the release workflow that runs cargo publish
when release-please creates a new release. Requires a
CARGO_REGISTRY_TOKEN secret in the repo settings.

Also update README with crates.io badge and cargo install bs-cli.
Rename the crate so cargo install betterstack-cli matches the repo
name and is easier to discover. The binary remains bs.
@sounak98 sounak98 changed the title docs: clarify project name and add crates.io install chore: rename crate to betterstack-cli, add crates.io publish Mar 8, 2026
@sounak98 sounak98 merged commit bad69e7 into main Mar 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant