Open Adam-it opened 5 months ago
Hi @Adam-it, few remarks from my side:
containerTypeName
and containerTypeId
are coupled together, I would remove the short option for the ID variant to keep them a bit more aligned. Seems odd that one has a short and the other doesn't.Creates a new Container Type for your app
, maybe instead of Adds a container
, we should use Creates a new container
to keep the commands a bit more inline.Hi @Adam-it, few remarks from my side:
- We always try to specify at least 2 examples
- Since
containerTypeName
andcontainerTypeId
are coupled together, I would remove the short option for the ID variant to keep them a bit more aligned. Seems odd that one has a short and the other doesn't.- For the container type command we used as description
Creates a new Container Type for your app
, maybe instead ofAdds a container
, we should useCreates a new container
to keep the commands a bit more inline.
good feed. I updated the spec. Thanks
Usage
m365 spe container add [options]
Description
Creates a new container
Options
-n, --name <name>
-d, --description [description]
--containerTypeId [containerTypeId]
containerTypeId
orcontainerTypeName
but not both--containerTypeName [containerTypeName]
containerTypeId
orcontainerTypeName
but not both.Examples
Adds a new container specifying the container type by id
Adds a new container specifying the container type by name
Default properties
No response
Additional Info
we may base this functionality on the following
POST
requestpassing in body the:
https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-post?view=graph-rest-1.0&tabs=http