Skip to main content
Version: 2.x

mops owner

List, add or remove owners of a package.

info

Check the Package owners and maintainers for more information.

mops owner​

Manage owners of the current package.

mops owner list​

List all owners of the package.

mops owner add​

Add new package owner.

mops owner add <principal>

mops owner remove​

Remove package owner.

mops owner remove <principal>

--yes​

mops owner add and mops owner remove ask for confirmation. Pass --yes to skip the prompt (required in non-interactive environments like CI):

mops owner add <principal> --yes

Example​

Imagine you have a package named hello and you want to add the principal 2d2zu-vaaaa-aaaak-qb6pq-cai as an owner.

mops.toml:

[package]
name = "hello"
version = "0.1.0"
...

Add the owner:

mops owner add 2d2zu-vaaaa-aaaak-qb6pq-cai