@@ -78,8 +78,8 @@ import (
7878 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/module/modulelabel/modulelabelinfo"
7979 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/module/modulelabel/modulelabellist"
8080 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/module/modulelabel/modulelabelunarchive"
81+ "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/module/modulesettings/modulesettingsupdate"
8182 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/module/moduleundeprecate"
82- "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/module/moduleupdate"
8383 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/organization/organizationcreate"
8484 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/organization/organizationdelete"
8585 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/organization/organizationinfo"
@@ -95,7 +95,7 @@ import (
9595 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/plugin/pluginlabel/pluginlabelinfo"
9696 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/plugin/pluginlabel/pluginlabellist"
9797 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/plugin/pluginlabel/pluginlabelunarchive"
98- registrypluginupdate "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/plugin/pluginupdate "
98+ "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/plugin/pluginsettings/pluginsettingsupdate "
9999 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/registrycc"
100100 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/registrylogin"
101101 "github.com/bufbuild/buf/private/buf/cmd/buf/command/registry/registrylogout"
@@ -268,12 +268,19 @@ func NewRootCommand(name string) *appcmd.Command {
268268 modulelabelunarchive .NewCommand ("unarchive" , builder , "" ),
269269 },
270270 },
271+ {
272+ Use : "settings" ,
273+ Short : "Manage a module's settings" ,
274+ SubCommands : []* appcmd.Command {
275+ modulesettingsupdate .NewCommand ("update" , builder , "" ),
276+ },
277+ },
271278 modulecreate .NewCommand ("create" , builder ),
272279 moduleinfo .NewCommand ("info" , builder ),
273280 moduledelete .NewCommand ("delete" , builder ),
274281 moduledeprecate .NewCommand ("deprecate" , builder ),
282+ modulesettingsupdate .NewCommand ("update" , builder , deprecatedMessage ("buf registry module settings update" , "buf registry update" )),
275283 moduleundeprecate .NewCommand ("undeprecate" , builder ),
276- moduleupdate .NewCommand ("update" , builder ),
277284 },
278285 },
279286 {
@@ -300,10 +307,16 @@ func NewRootCommand(name string) *appcmd.Command {
300307 pluginlabelunarchive .NewCommand ("unarchive" , builder , "" ),
301308 },
302309 },
310+ {
311+ Use : "settings" ,
312+ Short : "Manage a plugin's settings" ,
313+ SubCommands : []* appcmd.Command {
314+ pluginsettingsupdate .NewCommand ("update" , builder ),
315+ },
316+ },
303317 plugincreate .NewCommand ("create" , builder ),
304318 plugininfo .NewCommand ("info" , builder ),
305319 plugindelete .NewCommand ("delete" , builder ),
306- registrypluginupdate .NewCommand ("update" , builder ),
307320 },
308321 },
309322 },
0 commit comments