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.
Closes https://github.com/parseablehq/pb/issues/8
Test
Notes
-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.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!