@@ -18,7 +18,6 @@ import (
1818 dashboardItem "github.com/fastly/cli/pkg/commands/dashboard/item"
1919 "github.com/fastly/cli/pkg/commands/dictionary"
2020 "github.com/fastly/cli/pkg/commands/dictionaryentry"
21- "github.com/fastly/cli/pkg/commands/domain"
2221 "github.com/fastly/cli/pkg/commands/domainv1"
2322 "github.com/fastly/cli/pkg/commands/healthcheck"
2423 "github.com/fastly/cli/pkg/commands/imageoptimizerdefaults"
@@ -94,6 +93,7 @@ import (
9493 "github.com/fastly/cli/pkg/commands/secretstore"
9594 "github.com/fastly/cli/pkg/commands/secretstoreentry"
9695 "github.com/fastly/cli/pkg/commands/service"
96+ "github.com/fastly/cli/pkg/commands/service/domain"
9797 "github.com/fastly/cli/pkg/commands/serviceauth"
9898 "github.com/fastly/cli/pkg/commands/serviceversion"
9999 "github.com/fastly/cli/pkg/commands/shellcomplete"
@@ -221,13 +221,6 @@ func Define( // nolint:revive // function-length
221221 dictionaryEntryUpdate := dictionaryentry .NewUpdateCommand (dictionaryEntryCmdRoot .CmdClause , data )
222222 dictionaryList := dictionary .NewListCommand (dictionaryCmdRoot .CmdClause , data )
223223 dictionaryUpdate := dictionary .NewUpdateCommand (dictionaryCmdRoot .CmdClause , data )
224- domainCmdRoot := domain .NewRootCommand (app , data )
225- domainCreate := domain .NewCreateCommand (domainCmdRoot .CmdClause , data )
226- domainDelete := domain .NewDeleteCommand (domainCmdRoot .CmdClause , data )
227- domainDescribe := domain .NewDescribeCommand (domainCmdRoot .CmdClause , data )
228- domainList := domain .NewListCommand (domainCmdRoot .CmdClause , data )
229- domainUpdate := domain .NewUpdateCommand (domainCmdRoot .CmdClause , data )
230- domainValidate := domain .NewValidateCommand (domainCmdRoot .CmdClause , data )
231224 domainv1CmdRoot := domainv1 .NewRootCommand (app , data )
232225 domainv1Create := domainv1 .NewCreateCommand (domainv1CmdRoot .CmdClause , data )
233226 domainv1Delete := domainv1 .NewDeleteCommand (domainv1CmdRoot .CmdClause , data )
@@ -638,6 +631,13 @@ func Define( // nolint:revive // function-length
638631 serviceVersionStage := serviceversion .NewStageCommand (serviceVersionCmdRoot .CmdClause , data )
639632 serviceVersionUnstage := serviceversion .NewUnstageCommand (serviceVersionCmdRoot .CmdClause , data )
640633 serviceVersionUpdate := serviceversion .NewUpdateCommand (serviceVersionCmdRoot .CmdClause , data )
634+ servicedomainCmdRoot := domain .NewRootCommand (serviceCmdRoot .CmdClause , data )
635+ servicedomainCreate := domain .NewCreateCommand (servicedomainCmdRoot .CmdClause , data )
636+ servicedomainDelete := domain .NewDeleteCommand (servicedomainCmdRoot .CmdClause , data )
637+ servicedomainDescribe := domain .NewDescribeCommand (servicedomainCmdRoot .CmdClause , data )
638+ servicedomainList := domain .NewListCommand (servicedomainCmdRoot .CmdClause , data )
639+ servicedomainUpdate := domain .NewUpdateCommand (servicedomainCmdRoot .CmdClause , data )
640+ servicedomainValidate := domain .NewValidateCommand (servicedomainCmdRoot .CmdClause , data )
641641 statsCmdRoot := stats .NewRootCommand (app , data )
642642 statsHistorical := stats .NewHistoricalCommand (statsCmdRoot .CmdClause , data )
643643 statsRealtime := stats .NewRealtimeCommand (statsCmdRoot .CmdClause , data )
@@ -799,13 +799,6 @@ func Define( // nolint:revive // function-length
799799 dictionaryEntryUpdate ,
800800 dictionaryList ,
801801 dictionaryUpdate ,
802- domainCmdRoot ,
803- domainCreate ,
804- domainDelete ,
805- domainDescribe ,
806- domainList ,
807- domainUpdate ,
808- domainValidate ,
809802 domainv1CmdRoot ,
810803 domainv1Create ,
811804 domainv1Delete ,
@@ -1201,6 +1194,13 @@ func Define( // nolint:revive // function-length
12011194 serviceauthDescribe ,
12021195 serviceauthList ,
12031196 serviceauthUpdate ,
1197+ servicedomainCmdRoot ,
1198+ servicedomainCreate ,
1199+ servicedomainDelete ,
1200+ servicedomainDescribe ,
1201+ servicedomainList ,
1202+ servicedomainUpdate ,
1203+ servicedomainValidate ,
12041204 serviceVersionActivate ,
12051205 serviceVersionClone ,
12061206 serviceVersionCmdRoot ,
0 commit comments