Skip to content

Add columns list command#15

Closed
maragubot wants to merge 5 commits into
mainfrom
issue-6-columns
Closed

Add columns list command#15
maragubot wants to merge 5 commits into
mainfrom
issue-6-columns

Conversation

@maragubot

Copy link
Copy Markdown
Collaborator

Summary

  • Add Column types and ListColumns API method
  • Add columns list command with required --dataset flag
  • Table and JSON output formatting

Test plan

  • ListColumns API tested
  • Command table and JSON output tested
  • go install . works

Closes #6

- Update module path to github.com/maragudk/honeycomb-cli
- Add cobra CLI framework with root command and global flags
- Support --api-key/HONEYCOMB_API_KEY and --api-url/HONEYCOMB_API_URL
- Add version command (set via -ldflags at build time)
- Add basic test for Execute function
- Update README with install and usage instructions

Closes #1
- Create honeycomb package with HTTP client supporting API key auth
- Add error response parsing (RFC 7807 Problem Detail format)
- Implement GET /1/auth endpoint for key verification
- Add `auth` command showing team, environment, and permissions
- Refactor commands to use NewRootCommand() for testability
- Add tests for client, auth API, and auth command

Closes #2
Closes #3
- Add Dataset types and API methods to honeycomb package
- Add datasets subcommands with table and JSON output
- Add newClient helper for creating API clients from flags
- Tests for all API methods and commands

Closes #4
- Add Marker types and API methods for list, create, delete
- Support --dataset flag (defaults to __all__ for environment-wide)
- Markers are useful for annotating deploys in CI/CD pipelines
- Table and JSON output formatting
- Tests for all API methods and commands

Closes #5
- Add Column types and ListColumns API method
- Add columns list command with --dataset flag (required)
- Table and JSON output formatting
- Tests for API method and command

Closes #6
@maragubot
maragubot enabled auto-merge (squash) February 27, 2026 12:41
@maragubot

Copy link
Copy Markdown
Collaborator Author

Changes included in PR #18

@maragubot maragubot closed this Feb 27, 2026
auto-merge was automatically disabled February 27, 2026 12:50

Pull request was closed

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.

Columns commands: list columns for a dataset

1 participant