You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/sst/main.go
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -968,6 +968,12 @@ var root = &cli.Command{
968
968
"sst refresh --target MyComponent",
969
969
"```",
970
970
"",
971
+
"Alternatively, exclude a specific component from the refresh.",
972
+
"",
973
+
"```bash frame=\"none\"",
974
+
"sst refresh --exclude MyComponent",
975
+
"```",
976
+
"",
971
977
"This is useful for cases where you want to ensure that your local state is in sync with your cloud provider. [Learn more about how state works](/docs/providers/#how-state-works).",
972
978
}, "\n"),
973
979
},
@@ -980,6 +986,14 @@ var root = &cli.Command{
980
986
Long: "Only run it for the given component.",
981
987
},
982
988
},
989
+
{
990
+
Name: "exclude",
991
+
Type: "string",
992
+
Description: cli.Description{
993
+
Short: "Exclude a component",
994
+
Long: "Exclude the specified component from the operation.",
0 commit comments