Steps to reproduce:
1. Run "zanata init" on a new project
2. Answer the question "What is your project type (utf8properties, properties, gettext, podir, xliff, xml, file)?" with "file"
3. continue to answer all questions until the end of the command run
4. You will get the following error message: "execution failed: unknown project type: file"
It may not be a quick fix. The problem is file type push command is a separate class. I need to take this into account when trying to scan for source files (e.g. depending on project type, to use PushCommand or RawPushCommand. Also PullCommand or RawPullCommand)
Could we for the time being not scan for source files in this case? I mean, file type is so generic that we might need to do something more sophisticated during 'init', but for now we could just avoid all that and at least not fail when creating such a project.
I've already fixed it so now it will work like other project types. But it requires an extra question to be answered (--file-types option). Because we don't store file-types in zanata.xml, so answering that question during init will only display/preview source and translation docs. They still need to give that option when doing actual pushing.
Ok, since you went to the trouble of doing that, might as well tell them how they need to invoke it
Jira seems to catch my pull request targeting release branch and reset to review.
I have re-verified it for release branch as well.