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

Force rebuilding in the cli #2894

Closed
rmb938 opened this issue Feb 4, 2020 · 8 comments
Closed

Force rebuilding in the cli #2894

rmb938 opened this issue Feb 4, 2020 · 8 comments
Labels
enhancement New feature or request

Comments

@rmb938
Copy link

rmb938 commented Feb 4, 2020

In the web ui there is a nice button to force a rebuild, however I can't find a way to do that in the cli.

Can this feature be added to the cli?

@maiamcc
Copy link
Contributor

maiamcc commented Feb 4, 2020

( comment deleted because I misread your issue )

@maiamcc
Copy link
Contributor

maiamcc commented Feb 4, 2020

Hi @rmb938! Potentially--can you tell me more about your use case, and why you want to force a rebuild from the CLI instead of from the web UI?

@maiamcc maiamcc added the enhancement New feature or request label Feb 4, 2020
@rmb938
Copy link
Author

rmb938 commented Feb 4, 2020

My workflows tend to be all done via a terminal and an IDE for development. Typically my web browser is never used other than looking at documentation and whatnot. I tend to mostly work on backend applications that have no http endspoints or just a basic api so my browser is never used for interacting with those applications.

Before starting to use tilt I typically ran kubectl and docker commands directly in my terminal. When using tilt I also use the terminal interface via tilt up --no-browser. Navigating the CLI interface is much easier for my work flows and being able to switch between all the different log types and whatnot is great.

All the features I currently use are already present in the CLI except the force rebuild button, so having to open the web ui just for that one feature is really annoying.

@maiamcc
Copy link
Contributor

maiamcc commented Feb 7, 2020

This is live in v0.12.0! Syntax is tilt trigger [resource_name]:

2020-02-07 13 52 58

@maiamcc maiamcc closed this as completed Feb 7, 2020
@rmb938
Copy link
Author

rmb938 commented Feb 13, 2020

Thanks! I was hoping for more of a keybind, like the X key to expend the logs. But this works too.

@maiamcc
Copy link
Contributor

maiamcc commented Feb 13, 2020

Ah, I see. If you feel like submitting a PR, it should be pretty easy: here's the code to trigger an update, and here's the code that handles terminal key events. If you end up writing this yourself, let me know if you need any help.

@rmb938
Copy link
Author

rmb938 commented Feb 13, 2020

Awesome, I'll take a look. Thanks again!

@nicks
Copy link
Member

nicks commented Feb 21, 2020

i filed the TUI request as #2995, since jason may also asked about this

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

No branches or pull requests

3 participants