bit-angular icon indicating copy to clipboard operation
bit-angular copied to clipboard

Use `bit show --remote` to get aspect version

Open itaymendel opened this issue 4 years ago • 6 comments

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 avatar Jul 04 '21 08:07 itaymendel

@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 avatar Jul 04 '21 08:07 itaymendel

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 🙂

ocombe avatar Jul 04 '21 19:07 ocombe

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.

itaymendel avatar Jul 06 '21 06:07 itaymendel

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.

davidfirst avatar Jul 06 '21 12:07 davidfirst

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

GiladShoham avatar Jul 14 '21 10:07 GiladShoham

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

davidfirst avatar Jul 14 '21 19:07 davidfirst