Skip to content

Enhance spo site list to return archived sites #6547

@milanholemans

Description

@milanholemans

Idea

Let's enhance the command spo site list to return sites that are archived using spo site archive.
The idea is to expand option --type [type] with extra options: fullyArchived, recentlyArchived, and archived.

Let's make sure that we use the same API that is currently being used. The output of the command cannot alter.

Remarks

(Include these remarks in the docs to make it clearer)

When providing a value for option type, consider the following:

  • fullyArchived: return sites that are fully archived (longer than 7 days)
  • recentlyArchived: return sites that are recently archived (within 7 days)
  • archived: return both recently archived and fully archived sites

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions