File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,10 @@ var query = &cobra.Command{
5555 // if no query is provided set it to default "select * from <steam-name>"
5656 // <steam-name> here is the first stream that server returns
5757 if len (args ) == 0 || args [0 ] == "" || args [0 ] == " " {
58- stream , err := fetchFirstStream ()
59- if err != nil {
60- return err
61- }
62- query = fmt .Sprintf ("select * from %s" , stream )
63- } else {
64- query = args [0 ]
58+ fmt .Println ("please enter your query" )
59+ fmt .Printf ("Example:\n pb query \" select * from frontend\" --from=10m --to=now" )
60+ return nil
61+
6562 }
6663
6764 start , err := command .Flags ().GetString (startFlag )
Original file line number Diff line number Diff line change 3838
3939func defaultInitialProfile () config.Profile {
4040 return config.Profile {
41- URL : "https://demo.parseable.io " ,
41+ URL : "https://demo.parseable.com " ,
4242 Username : "admin" ,
4343 Password : "admin" ,
4444 }
You can’t perform that action at this time.
0 commit comments