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

Feature Request - Offer an "offline" mode #67

Closed
b-per opened this issue May 13, 2024 · 2 comments
Closed

Feature Request - Offer an "offline" mode #67

b-per opened this issue May 13, 2024 · 2 comments
Assignees
Labels

Comments

@b-per
Copy link

b-per commented May 13, 2024

Even though I run tftui with the -d flag, in the background the CLI runs 2 HTTP requests:

It would be great to have a way to run the tool when behing a proxy with no access to the Internet

Also, I think that the -d flag should not send any POST to posthog. Is it a bug?

@idoavrah idoavrah self-assigned this May 14, 2024
@idoavrah idoavrah added the enhancement New feature or request label May 14, 2024
@idoavrah
Copy link
Owner

Hi Benoit,

The -d flag prevents the usage tracking, as advertised. It seems that simply importing the posthog module issues the POST request. I'll switch the import into a conditional one to prevent this from happening. I'll also make this flag render the application "offline" and prevent any outbound calls.

Thanks for bringing this to my attention, you can expect a new patched version sometime this week.

@idoavrah
Copy link
Owner

Just released v0.13.1 with the fix and an "offline" flag 😄

@idoavrah idoavrah added the done label May 14, 2024
@idoavrah idoavrah removed the enhancement New feature or request label May 25, 2024
@idoavrah idoavrah closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants