@@ -5641,14 +5641,14 @@ def get_description():
56415641 return "Manage Analytics Links"
56425642
56435643
5644- class ColumnarLinkSetup (Subcommand ):
5645- """The columnar link setup subcommand"""
5644+ class EnterpriseAnalyticsLinkSetup (Subcommand ):
5645+ """The Enterprise Analytics link setup subcommand"""
56465646
56475647 def __init__ (self ):
5648- super (ColumnarLinkSetup , self ).__init__ ()
5649- self .parser .prog = "couchbase-cli columnar -link-setup"
5648+ super (EnterpriseAnalyticsLinkSetup , self ).__init__ ()
5649+ self .parser .prog = "couchbase-cli enterprise-analytics -link-setup"
56505650
5651- group = self .parser .add_argument_group ("Columnar link setup options" )
5651+ group = self .parser .add_argument_group ("Enterprise Analytics link setup options" )
56525652 action_group = group .add_mutually_exclusive_group (required = True )
56535653 action_group .add_argument ("--create" , dest = "create" , action = "store_true" ,
56545654 default = False , help = "Create a link" )
@@ -5696,7 +5696,7 @@ def _set(self, opts):
56965696 except ValueError as err :
56975697 _exit_if_errors (['Failed to parse link-details JSON' , err ])
56985698
5699- _ , errors = self .rest .set_columnar_link (opts )
5699+ _ , errors = self .rest .set_enterprise_analytics_link (opts )
57005700 _exit_if_errors (errors )
57015701
57025702 _success ("Link created" if opts .create else "Link edited" )
@@ -5705,25 +5705,25 @@ def _delete(self, opts):
57055705 if opts .name is None :
57065706 _exit_if_errors (['--name is required to delete a link' ])
57075707
5708- _ , errors = self .rest .delete_columnar_link (opts )
5708+ _ , errors = self .rest .delete_enterprise_analytics_link (opts )
57095709 _exit_if_errors (errors )
57105710 _success ("Link deleted" )
57115711
57125712 def _get (self , opts ):
57135713 if opts .get and opts .name is None :
57145714 _exit_if_errors (['--name is required to get a link' ])
57155715
5716- clusters , errors = self .rest .get_columnar_links (opts )
5716+ clusters , errors = self .rest .get_enterprise_analytics_links (opts )
57175717 _exit_if_errors (errors )
57185718 print (json .dumps (clusters , sort_keys = True , indent = 2 ))
57195719
57205720 @staticmethod
57215721 def get_man_page_name ():
5722- return get_doc_page_name ("couchbase-cli-columnar -link-setup" )
5722+ return get_doc_page_name ("couchbase-cli-enterprise-analytics -link-setup" )
57235723
57245724 @staticmethod
57255725 def get_description ():
5726- return "Manage Columnar Links"
5726+ return "Manage Enterprise Analytics Links"
57275727
57285728
57295729class UserChangePassword (Subcommand ):
0 commit comments