Skip to content

reload: update command should require some kind of confirmation #1992

@cottongin

Description

@cottongin

While writing my own plugin that featured an update command I ran into this since Sopel will run all commands matching a defined command name/alias.

I should think running any sort of git pull command should require an extra step or confirmation, e.g. .update --yes, or something.

proc = subprocess.Popen('/usr/bin/git pull',
stdout=subprocess.PIPE,
stderr=subprocess.PIPE, shell=True)

To be honest I'm not entirely sure what the benefit of this command is and I'm beginning to align with @Exirel with his disdain for this plugin in general.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions