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

Allow bit log to work on remote component with no workspace #1894

Closed
Tallyb opened this issue Aug 4, 2019 · 5 comments
Closed

Allow bit log to work on remote component with no workspace #1894

Tallyb opened this issue Aug 4, 2019 · 5 comments

Comments

@Tallyb
Copy link
Contributor

Tallyb commented Aug 4, 2019

Description

bit log only works inside a workspace.

Describe the solution you'd like

bit log me.collection/foo/bar should log the history of the component.
Logging remote collection's component should work with no workspace.

@GiladShoham
Copy link
Member

@davidfirst That should be an easy task. let's do it.

@davidfirst
Copy link
Member

Implemented in the PR above.

@Tallyb
Copy link
Contributor Author

Tallyb commented Jan 1, 2020

@davidfirst if this command now runs now with no workspace, you should also add the skipWorkspace=true in the command attributes (like the one below).

skipWorkspace = true;

This changes the documentation to be Workspace Only: no, as here:
https://docs.bit.dev/docs/apis/cli-all#log

@GiladShoham
Copy link
Member

@davidfirst also adding the remoteOp = true; in the same place, so it will add the --token flag automatically.

@davidfirst
Copy link
Member

@Tallyb , Done. 55c85aa...59e3fbf
@GiladShoham , this has been added already by you before.

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

No branches or pull requests

3 participants