File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -621,7 +621,9 @@ def main() -> None:
621621 try :
622622 auth_args , other_args = get_auth_args ()
623623 ferry_cli = FerryCLI (
624- config_path = config_path , authorizer = set_auth_from_args (auth_args )
624+ config_path = config_path ,
625+ authorizer = set_auth_from_args (auth_args ),
626+ base_url = auth_args .server ,
625627 )
626628 if auth_args .update or not os .path .exists (f"{ CONFIG_DIR } /swagger.json" ):
627629 if auth_args .debug_level != DebugLevel .QUIET :
Original file line number Diff line number Diff line change @@ -213,6 +213,11 @@ def get_auth_parser() -> "FerryParser":
213213 help = "Get Ferry CLI support emails" ,
214214 action = request_project_info ("email" ),
215215 )
216+ auth_parser .add_argument (
217+ "-s" ,
218+ "--server" ,
219+ help = "Server URL to use instead of configuration file api.base_url value" ,
220+ )
216221 auth_parser .add_argument (
217222 "--version" ,
218223 nargs = 0 ,
You can’t perform that action at this time.
0 commit comments