Skip to content

Rename binary: newrelic-cli → nrq #62

@rianjs

Description

@rianjs

Rename binary to short name

Rename the CLI binary from newrelic-cli to nrq following the ripgrep pattern (descriptive package name, short binary).

Changes required:

  • .goreleaser.yml — update binary, builds.id
  • Makefile — update BINARY_NAME=nrq
  • Rename cmd/newrelic-cli/cmd/nrq/
  • internal/cmd/root.go — update Cobra Use: field
  • README.md — update all command examples
  • packaging/chocolatey/newrelic-cli.nuspec — update binary refs (package name stays same)
  • packaging/chocolatey/tools/chocolateyInstall.ps1 — update binary name
  • packaging/winget/*.yaml — update Commands to nrq
  • Add .github/workflows/test-chocolatey.yml (copy from confluence-cli, adapt)
  • Homebrew formula updates (in homebrew-tap repo): update bin.install "nrq"

Package name: newrelic-cli (unchanged)

Binary name: nrq

After this change:

  • Install: brew install newrelic-cli
  • Usage: nrq <command>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions