You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't working and always takes the default config file.
To Reproduce
Steps to reproduce the behavior:
Install GC CLI
Login gc login
Check current user is logged in gc config current-session
Copy the file from the default directory to a new location e.g. $HOME/.gc-cli/config.json to C:\
Check current user is logged in gc config current-session --config C:\config.json
Result is You do not have an active session, create one by running 'gc login'\n
Expected behavior
Step 3 and 5 in the above should return the same result.
Screenshots
C:\>gc config current-session --config 'C:\config.json'
You do not have an active session, create one by running 'gc login'\n
C:\>gc config current-session --config 'config.json'
You do not have an active session, create one by running 'gc login'\n
C:\>gc config current-session --config config.json
You do not have an active session, create one by running 'gc login'\n
C:\>
Desktop
GoCardless CLI Version: 1.0.0-beta.5
Git SHA: 55e1b161be6e1126edfc27ff62ead7e7d1321a9a
Go Version: go1.17.13
Go OS/Arch: windows/amd64
Built at: 2023-01-05T12:41:32Z
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the CLI you should be able to change the config file by using the before documented parameter:
https://developer.gocardless.com/cli-reference/gc/
--config string config file (default is $HOME/.gc-cli/config.json)
This isn't working and always takes the default config file.
To Reproduce
Steps to reproduce the behavior:
gc login
gc config current-session
gc config current-session --config C:\config.json
You do not have an active session, create one by running 'gc login'\n
Expected behavior
Step 3 and 5 in the above should return the same result.
Screenshots
Desktop
The text was updated successfully, but these errors were encountered: