Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clockify Export CLI

Overview

The clocksheet CLI application is designed to interact with Google Sheets to manage and manipulate spreadsheets based on data fetched from Clockify.

Setup and Usage Instructions

Install Dependencies

  • Ensure Node.js is installed on your system.
  • Run npm install in the project directory to install the necessary packages.

Obtain Google API Credentials

  • Visit the Google Cloud Console.
  • Create a new project.
  • Navigate to "APIs & Services" > "Credentials".
  • Click "Create Credentials" and select "Service account".
  • Fill in the necessary details and create the service account.
  • Once created, go to the service account and click "Add Key" > "JSON". Download the JSON file.
  • Set path to credentials file when prompted

Enable Google APIs

  • In the Google Cloud Console, enable the "Google Sheets API" and "Google Drive API" for your project.

Configure the Application

  • The application looks for a configuration file at ~/.clocksheet/config.json.
  • This file will store project-specific configurations like spreadsheet IDs and template sheet IDs.
  • The application will prompt you to enter these IDs when needed and save them to the configuration file.

Get Spreadsheet and Template IDs

  • Open the Google Sheet you want to use and get its ID from the URL. It is the part between /d/ and /edit.
  • Similarly, get the template sheet ID from the URL or the Google Sheets interface.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages