diff --git a/README.md b/README.md index 56de1cb..5acc4ec 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,16 @@ # cli +> [!WARNING] +> **This repository is deprecated and no longer maintained.** +> +> The San Francisco Compute `sf` CLI has been rewritten in Rust. If you have +> this legacy CLI installed, run `sf migrate` to switch. +> +> - Install the current CLI: +> - Migration guide: +> +> The documentation below is retained for archival reference only. + This is the San Francisco Compute command line tool. ### Install (MacOS/Linux) diff --git a/src/lib/migrate.ts b/src/lib/migrate.ts index 8dd982e..c68dec6 100644 --- a/src/lib/migrate.ts +++ b/src/lib/migrate.ts @@ -11,22 +11,21 @@ const NEW_CLI_INSTALL_URL = "https://cli.sfcompute.com"; const MIGRATION_GUIDE_URL = "https://sfcompute.com/migrate"; export function showMigrateBanner() { - const message = `We've rewritten the sf CLI in Rust. + const message = `This CLI is deprecated and no longer maintained. -List idle capacity on the orderbook to -recoup up to 20% of your spend. - -Run 'sf migrate' to switch. Your current -CLI stays as 'sf-old'. +The sf CLI has been rewritten in Rust. Run +'sf migrate' to switch. Docs: ${MIGRATION_GUIDE_URL} Hide: SF_CLI_DISABLE_MIGRATE_BANNER=1`; console.log( - boxen(chalk.yellow(message), { + boxen(chalk.red(message), { padding: 1, - borderColor: "yellow", + borderColor: "red", borderStyle: "round", + title: "Deprecated", + titleAlignment: "center", }), ); }