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

Run task without menus #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Run task without menus #48

wants to merge 2 commits into from

Conversation

baruchiro
Copy link

For executing a task from a scheduled command line, if you run index -t taskName the taskName will run without menus.

#47

@eshaham
Copy link
Owner

eshaham commented Aug 23, 2019

@baruchiro I like this idea, but it should probably be under a different action. ie, shouldn't ride on top of the scrapingMainMenu function.

@baruchiro
Copy link
Author

under a different action

Do you mean a different endpoint file? ie node runTask.js?

@eshaham
Copy link
Owner

eshaham commented Dec 29, 2019

@baruchiro no, like a new mode probably. see handling of modes here:
https://github.com/eshaham/israeli-ynab-updater/blob/master/src/index.js#L25

this should work with something like npm run start:quiet -- -t <taskName>

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.

2 participants