client init fails on missing zanata.ini despite given auth

Description

User should be able to specify the username, key and url for an init command. Zanata.ini is ignored if not available.

1 2 3 4 5 6 >> client init --username djansen --key bd5cc6b2652b481697186ce85dec77ae [WARN] Project config file 'zanata.xml' not found; ignoring. User config file '/home/djansen/.config/zanata.ini' not found; ignoring. [WARN] You don't have a zanata.ini file. Please refer to http://zanata.org/help/cli/cli-configuration/ to create one for intended Zanata server (https://translate.zanata.org, https://translate.engineering.redhat.com, https://translate.jboss.org) [ERROR] Execution failed: You don't have a zanata.ini file. Please refer to http://zanata.org/help/cli/cli-configuration/ to create one for intended Zanata server (https://translate.zanata.org, https://translate.engineering.redhat.com, https://translate.jboss.org) [ERROR] Use -e/--errors for full stack trace (or when reporting bugs)

Environment

None

Status

Assignee

Damian Jansen

Reporter

Damian Jansen

Labels

Tested Version/s

None

Components

Sprint

None

Fix versions

Affects versions

platform-4.0.0

Priority

Medium