-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: hide
fvm self install
from and help introduce `fvm self updat…
…e` (#3724) * feat: hide `fvm self install` * feat: add fvm update instructions * feat: add fvm update instructions
- Loading branch information
1 parent
43f2353
commit 9607102
Showing
4 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
crates/fluvio-version-manager/src/command/itself/update.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
use anyhow::Result; | ||
use clap::Parser; | ||
|
||
use crate::common::notify::Notify; | ||
|
||
#[derive(Clone, Debug, Parser)] | ||
pub struct SelfUpdateOpt; | ||
|
||
impl SelfUpdateOpt { | ||
pub async fn process(&self, notify: Notify) -> Result<()> { | ||
notify.info("To update fvm, please run:"); | ||
notify.info("curl -fsS https://hub.infinyon.cloud/install/install.sh | bash"); | ||
Ok(()) | ||
} | ||
} |