/fill-aubay-timesheet

Automate script to fill up internal timesheet platform

Primary LanguageJavaScriptMIT LicenseMIT

Fill my Timesheet for me 🕐

Lightweight CLI for fill up a specific timesheet from my current company.


npm bundle size NPM PRs Welcome

How it works

npx fill-aubay-timesheet --user=your-user --pass=your-pass

or you can install globally on your machine

npm i -g fill-aubay-timesheet

and then run

fill-aubay-timesheet --user=your-user --pass=your-pass

with custom hour period

fill-aubay-timesheet --user=your-user --pass=your-pass --hours-per-day=9

for testing purposes

fill-aubay-timesheet --user=your-user --pass=your-pass --testing=true

Flags

  • --user: your personal username to sign in on Aubay's application.
  • --pass: your personal password to sign in on Aubay's application.
  • --hours-per-day: if you want to change the default value, which is 8.
  • --testing: use this flag when you want to open the browser and see the steps happening, also, it will skip some steps, specifically the following: [saveTimesheet, reOpenTimesheet, submitTimesheet]. This flag was added to help us test the application without create holes in it 🙈

License

Usage is provided under the MIT License. See LICENSE for the full details.