parseablehq / pb

CLI client for Parseable server. Inspect, query and analyse Parseable log data from your terminal.
https://parseable.com
GNU Affero General Public License v3.0
15 stars 8 forks source link

feat: add goreleaser for build and release steps #20

Closed mr-karan closed 1 year ago

mr-karan commented 1 year ago

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

Let me know if any changes are required!

nitisht commented 1 year ago

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