Skip to content

Commit 7d1c85e

Browse files
juliusmarmingecodex
andcommitted
Remove legacy cloud CLI fallback
Co-authored-by: codex <[email protected]>
1 parent 8cc6e9f commit 7d1c85e

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

‎apps/server/src/bin.ts‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,6 @@ class ConnectPublicConfigMissingError extends CliError.UserError {
2525
}
2626
}
2727

28-
const removedCloudCommandMessage = "The `t3 cloud` command was removed. Use `t3 connect`.";
29-
30-
class RemovedCloudCommandError extends CliError.UserError {
31-
override get message() {
32-
return removedCloudCommandMessage;
33-
}
34-
}
35-
36-
const removedCloudCommand = Command.make("cloud").pipe(
37-
Command.withHidden,
38-
Command.withHandler(() =>
39-
Effect.fail(
40-
new CliError.ShowHelp({
41-
commandPath: ["t3", "cloud"],
42-
errors: [new RemovedCloudCommandError({ cause: removedCloudCommandMessage })],
43-
}),
44-
),
45-
),
46-
);
47-
4828
const connectUnavailableCommand = Command.make("connect").pipe(
4929
Command.withDescription("T3 Connect is unavailable in builds without public configuration."),
5030
Command.withHidden,
@@ -68,7 +48,6 @@ export const makeCli = ({ cloudEnabled = hasCloudPublicConfig } = {}) =>
6848
authCommand,
6949
projectCommand,
7050
cloudEnabled ? connectCommand : connectUnavailableCommand,
71-
removedCloudCommand,
7251
]),
7352
);
7453

0 commit comments

Comments
 (0)