teambit / bit

A build system for development of composable software.
https://bit.dev
Other
17.89k stars 929 forks source link

make capsule commands work on bare scope #4901

Closed GiladShoham closed 1 year ago

GiladShoham commented 3 years ago

I want to see capsules created for bare scopes using the capsule list command. I think we should move the capsule commands out of the workspace into the isolator. And use the component host instead of workspace directly.

davidfirst commented 3 years ago

@GiladShoham , I started implementing it in capsule-cmd-isolator branch. But there is an issue. How do I get the scope path from the component-host? If my host is the workspace, how to do I get the scope instance?

GiladShoham commented 3 years ago

@davidfirst you can just use host.path to get it. if it's a workspace, why do you need the scope, it's like now? also you can get it from the workspace.scope

NitsanCohen770 commented 1 year ago

This is now implemented.