-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: fvm user interface improvements #3683
feat: fvm user interface improvements #3683
Conversation
if version.is_version_tag() { | ||
notify.done(format!( | ||
"Now using Fluvio version {}", | ||
version.to_string().bold(), | ||
)); | ||
} else { | ||
notify.done(format!( | ||
"Now using Fluvio {} ({})", | ||
version.to_string().bold(), | ||
version_dir.manifest.version.to_string().bold(), | ||
)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For version tags, say fvm switch 0.10.11
, rendering the tag between parenthesis is redundant so its discriminated by the nature of the Channel
instance provided.
We just want to render the specific tag for Channels.
fvm switch 0.10.15
...
done: Now using Fluvio version 0.10.15
And with Channels
fvm switch stable
...
done: Now using Fluvio stable (0.10.17)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
These are a couple of very small changes in FVM to make the UI more intuitive.
fvm list
overfvm show
for listing installed versions (4ad1b91)Demo
Using switch on Channels now prints the underlying tag
Now `fvm list` is used to list versions