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

Unable to add profiles #61

Closed sebzimmermann closed 3 days ago

sebzimmermann commented 1 week ago

Fresh download of pb.

1) List profiles:

│ demo                           
│ url: https://demo.parseable.com
│ user: admin  

2) Add new profile: pb profile add myprofile https://parseable.mydomain.net user pwd --> No output 3) List profiles again:

│ demo                           
│ url: https://demo.parseable.com
│ user: admin  

4) Delete demo profile: pb profile remove demo 5) Add new profile again 6) List profiles again:

│ myprofile                           
│ url: https://parseable.mydomain.net
│ user: user  
AdheipSingh commented 6 days ago

FIx https://github.com/parseablehq/pb/pull/62

I still feel this might have been caused by a previous file present in /Users/yourhome/Library/Application\ Support/parseable, the previous logic had a bug which was overriding. Ill suggest to clean up the this file and run profile list, profile add again.

sebzimmermann commented 4 days ago

@AdheipSingh I'm on Ubuntu, not MacOs. The ~/.config/parseable folder did not exist prior the setup (it was the first time I downloaded pb).

AdheipSingh commented 3 days ago

got it. Let me also run a check for ubuntu machine.

AdheipSingh commented 3 days ago

image

nitisht commented 3 days ago

Thanks @AdheipSingh . merging this then.