Create project under a namespace
sameersbn opened this issue · comments
Is it possible to specify the namespace under which the project should be created?
when i do git lab create -t <project name>
a new project is created under the user namespace. Would it be possible to add an option to specify the namespace under which the project should be created, e.g. git lab create -t -n <namespace> <project name>
or git lab create -t <namespace>/<project name>
Good idea! I'll look into it.
@grimborg thanks. 👍
The create project API requires a namespace_id
and so far there doesn't seem to be an API endpoint that can convert a namespace name -> id, which makes this difficult to implement.
Will have to look into this further.
Namespaces are in the current API: http://doc.gitlab.com/ce/api/namespaces.html