Socket
Book a DemoInstallSign in
Socket

freshbooks-cli-time-entry

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freshbooks-cli-time-entry

A command-line interface for interacting with Freshbooks Time Entries

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

freshbooks-cli-time-entry

Build Status

A command-line interface for interacting with Freshbooks Time Entries

Overview

freshbooks-cli is a command-line interface to the FreshBooks API.

freshbooks-cli-time-entry implements the time-entry subcommand for freshbooks-cli.

Usage

--list, -l   - Display a list of time entries

--create, -c - Create one or more time entries from JSON data, either
               read from STDIN or passed to --data as a string

--data JSON - Time entry data for --create

--help, -h - Display this message

See http://developers.freshbooks.com/docs/time-entries/ for more information.

Examples

# Printing a list of time entries
$ freshbooks time-entry --list
id hours date       billed notes
1  8     2013-11-05 0      Example entry

# Create some entries from a JSON file
$ cat entries.json | freshbooks time-entry --create

Contributing

The test suite is implemented with nodeunit and nixt.

To rebuild & run the tests

$ git clone https://github.com/logankoester/freshbooks-cli-time-entry.git
$ cd freshbooks-cli-time-entry
$ npm install
$ grunt test

You can use grunt watch to automatically rebuild and run the test suite when files are changed.

Use npm link from the project directory to tell freshbooks-cli to use your modified freshbooks-cli-time-entry during development.

To contribute back, fork the repo and open a pull request with your changes.

License

Copyright (c) 2013 Logan Koester Licensed under the MIT license.

Keywords

freshbooks-cli

FAQs

Package last updated on 06 Nov 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts