Skip to content

Conversation

@mr-karan
Copy link
Contributor

Closes #8

Test

goreleaser --snapshot --clean

 ./dist/pb_linux_amd64_v1/pb 
Error: no command or flag supplied
Usage:
  pb [flags]
  pb [command]

Available Commands:
  help        Help about any command
  profile     Manage profiles
  query       Open SQL query prompt
  stream      Manage streams
  user        Manage users
  version     Print version

Flags:
  -h, --help      help for pb
  -v, --version   Print version

Use "pb [command] --help" for more information about a command.
 docker run --rm parseablehq/pb profile

use profile command to configure (multiple) Parseable instances. Each profile takes a URL and credentials.

Usage:
  pb profile [command]

Available Commands:
  add         Add a new profile
  default     Set default profile to use with all commands
  list        List all added profiles
  remove      Delete a profile

Flags:
  -h, --help   help for profile

Use "pb profile [command] --help" for more information about a command.

Notes

  • Not really sure why -tags=kqueue is added in Makefile. For now, I've kept it consistent in .goreleaser.yml, but if this has to be changed, we can.
  • The ldflags part (go run buildscripts/gen-ldflags.go $(VERSION)) is a bit complicated to run in .goreleaser.yml. I ran it manually and templated the same string in .goreleaser.yml, hope that's fine.

Let me know if any changes are required!

@nitisht
Copy link
Member

nitisht commented Sep 14, 2023

looks great @mr-karan . we’ll test and merge shortly

@nitisht nitisht merged commit 80c59c1 into parseablehq:main Sep 14, 2023
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.

add dockerfile

2 participants