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

feat: add toml config and arg parsing for poll time #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Joeyrsp
Copy link

@Joeyrsp Joeyrsp commented Jun 20, 2024

when aw-watcher-input got bundled i switched to the bundled version forgetting that i had been running a modified local version with an increased poll time. it would be great to use a toml config file like with the rest of the watchers so i just yoinked code from aw-watcher-afk and jammed it in here.

happy to make any changes like default config or to fit code style but i figure its probably pretty close since its 90% your code anyway

Comment on lines -12 to +11

@click.command()
@click.option("--testing", is_flag=True)
def main(testing: bool):
def main(args, testing: bool):
Copy link
Member

@ErikBjare ErikBjare Jul 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't remove click. Rewrite to use it instead.

@ellipsis-dev try to do this for us.

Edit: Ellipsis won't, but should be trivial to get ChatGPT etc to rewrite this if you're not familiar.

This comment was marked as resolved.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no worries. wasnt sure what was the new and what was the old

This comment was marked as resolved.

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

Successfully merging this pull request may close these issues.

3 participants