Skip to content

spo listitem list has incorrect options to specify list #3361

@milanholemans

Description

@milanholemans

Issue

The command spo listitem list uses -i, --id [id] and -t, --title [title] as options to specify the list.
According to our naming conventions, this should be -i, --listId [listId] and -t, --listTitle [listTitle] (this naming convention is also used in other spo listitem commands).

The options are wrong in the docs as well as in the code.

{
option: '-i, --id [listId]'
},
{
option: '-t, --title [listTitle]'
},

Suggestion

  • Introduce 2 new options -i, --listId [listId] and -t, --listTitle [listTitle]. So we move the short notations to the new options as well.
  • Mark options --title and --id as deprecated.
  • Create a new issue with v6 milestone to delete the old options --title and --id in the next major release.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions