added a comment - - edited
as mentioned on the mailing list earlier , this should be possible using
knife environment from file environments/*.rb
The same works for roles:
knife role from file roles/*.rb
For roles, I could verify that it works and in fact uploaded all roles from the roles directory. For environments however it did not work though and would upload only the first environment from the environments directory.
Might be a Windows-only issue as shell expansion might kick in on sane OSes.