Skip to content

his project is for those who don't or forget to write there Timesheet

Notifications You must be signed in to change notification settings

jeet0007/Timesheet-Automation-AppMan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimeSheet Automation

This project is for those who don't or forget to write there TimeSheet

Installation

To install all the required libraries

nvm install
nvm use
yarn

Usage

I have an yarn dev configured it will just open an browser session ans ask you to login. You will need to configure the Chrome path yourself in the index.js file

yarn dev

Usage with arguments

const optionDefinitions = [
  { name: "task", alias: "t", type: String },
  { name: "date", alias: "d", type: String },
  { name: "manhours", alias: "M", type: Number },
  { name: "module", alias: "m", type: String },
  { name: "subTask", alias: "s", type: String },
  { name: "crNo", alias: "c", type: String },
  { name: "file", alias: "f", type: String },
];

Usage with an input file

To run with an input file, use -f $PATH_TO_INPUT_FILE option.

These are the supported file types + example structure:

  • json

    [
      {
        "date": "02/03/2023",
        "manhours": 1,
        "module": "Not sure what is the value here",
        "task": "Whatever task it was",
        "subTask": "Your subtask",
        "crNo": "Your jira card number"
      }
    ]
  • yaml

    - date: "02/03/2023"
      manhours: 1
      module: Not sure what is the value here
      task: Whatever task it was
      subTask: Your subtask
      crNo: Your jira card number

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

his project is for those who don't or forget to write there Timesheet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published