Skip to content

Commit a9f3b38

Browse files
cursoragentszokeasaurusrex
authored andcommitted
ref(react-native): Remove appcenter subcommand (#3004)
### Description The `react-native appcenter` subcommand has been deprecated and is no longer needed. This change removes the entire subcommand implementation, including associated utility functions and related code. ### Issues * resolves: #2489 * resolves: CLI-70 --- <a href="https://cursor.com/background-agent?bcId=bc-9f461c4f-40d8-4689-be4d-6bf60878cb91"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-9f461c4f-40d8-4689-be4d-6bf60878cb91"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a>
1 parent f68237e commit a9f3b38

File tree

6 files changed

+3
-455
lines changed

6 files changed

+3
-455
lines changed

src/api/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ mod pagination;
1414
use std::borrow::Cow;
1515
use std::cell::RefCell;
1616
use std::collections::HashMap;
17+
#[cfg(any(target_os = "macos", not(feature = "managed")))]
1718
use std::fs::File;
1819
use std::io::{self, Read as _, Write};
1920
use std::rc::Rc;
@@ -1255,6 +1256,7 @@ impl ApiRequest {
12551256
}
12561257

12571258
/// enables or disables redirects. The default is off.
1259+
#[cfg(any(target_os = "macos", not(feature = "managed")))]
12581260
pub fn follow_location(mut self, val: bool) -> ApiResult<Self> {
12591261
debug!("follow redirects: {val}");
12601262
self.handle.follow_location(val)?;

src/commands/react_native/appcenter.rs

Lines changed: 0 additions & 230 deletions
This file was deleted.

src/commands/react_native/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
use anyhow::Result;
22
use clap::{ArgMatches, Command};
33

4-
pub mod appcenter;
54
pub mod gradle;
65
#[cfg(target_os = "macos")]
76
pub mod xcode;
87

98
macro_rules! each_subcommand {
109
($mac:ident) => {
1110
$mac!(gradle);
12-
$mac!(appcenter);
1311
#[cfg(target_os = "macos")]
1412
$mac!(xcode);
1513
};

0 commit comments

Comments
 (0)