Skip to content

New command: m365 context remove 🧺 #4043

@Adam-it

Description

@Adam-it

Usage

m365 context remove [options]

Description

Removes the context file

Options

Option Description
--confirm Don't prompt for confirming removing the file

Examples

Removes the context file. Prompts for confirmation

m365 context remove

Removes the context file. without prompting

m365 context remove --confirm

Additional Info

Initially discussed in issue #3896

The aim of this command is to remove the file .m365rc.json (if present only with context property). When the m365rc,json has other data in it running this command should only remove the context property

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions