Port the "channel modify" subcommand from Mattermost CLI to mmctl

Description

This ticket includes the creation of a "channel modify" subcommand in mmctl based on the Mattermost CLI command that can be found in cmd/mattermost/commands/channel.go.

This command can make use of the UpdateChannelPrivacy function of the model/client4.go file from the mattermost-server, and it should mimic the structure and the behavior of the Mattermost CLI, with the exception of the --username flag that the Mattermost CLI currently receives and will not necessary in mmctl.

As part of this ticket, the "channel make_private" subcomand should be removed from mmctl, as the creation of "channel modify" makes it obsolete.

QA Test Steps

None

Status

Mana

None

Assignee

Mattermost Community

QA Assignee

None

Reporter

Miguel de la Cruz

Epic Link

Fix versions

Mattermost Team

Platform

Sprint

None

Labels

None

QA Testing Areas

None

Components

None
Configure