Skip to content
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

Use bit show --remote to get aspect version #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

itaymendel
Copy link
Contributor

You can use the bit show teambit.angular/angular-v12 --remote command syntax to get the latest version of any aspect (also - bit list teambit.angular --remote to see versions for all aspects in a scope).

You can use the `bit show teambit.angular/angular-v12 --remote` command syntax to get the latest version of any aspect (also - `bit list teambit.angular --remote` to see versions for all aspects in a scope).
@itaymendel
Copy link
Contributor Author

@ocombe
if the output is too verbose (as it gives a very complete information on the aspect), it's likely we'll want to add an option to only print the version before this is merged, to improve dev-ex.

@itaymendel itaymendel requested a review from ocombe July 4, 2021 08:09
@ocombe
Copy link
Member

ocombe commented Jul 4, 2021

it's very verbose, and it takes a very long time, while the npm command is super fast and gives just what we need, I don't think we should change that for now 🙂

@itaymendel
Copy link
Contributor Author

let's keep it open and add @davidfirst and @GiladShoham to the mix.
ideally id' like to use the same tool for all commands. so for now we can keep npm, but i would want to replace with bit. need to see about our options.

@davidfirst
Copy link
Member

I'm good either way. It'd be nice to add an option to show only the remote version. Agree that it's too verbose. On my local it's not that slow, it takes 3 seconds.

@ocombe ocombe force-pushed the master branch 2 times, most recently from 7bc536d to c32299a Compare July 13, 2021 18:27
@GiladShoham
Copy link
Member

@davidfirst We already have the _latest command, we can expose it as a public command and use it instead.

@davidfirst
Copy link
Member

@GiladShoham , yes, we can do it. It'll probably require some work as it'll need to be implemented for HTTP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants