Git Product home page Git Product logo

camptime's Introduction

Camptime

Camptime is a simple command (using Symfony Console) that allows you to quickly enter time into Basecamp Classic.

Setup (non Laravel)

First, clone the repo.

git clone [email protected]:danielkperez/camptime.git

Next, create a .env file and fill in your Basecamp Base URL and Basecamp Classic API key. You can use the .env.example file as a starting point.

To get your API key, log into Basecamp, click the "My info" link, and scroll to the bottom of the page. Next, click the "Show your tokens" link and your 40-character key will be revealed to you.

Setup (Laravel)

Install the package via composer:

composer require danielkperez/camptime

Include the service provider in config/app.php:

'providers' => [
    ...
    Camptime\CamptimeServiceProvider::class
    ...
];

Running the command (non Laravel)

Once your API key is in place, open up the Terminal and cd into the root directory of your cloned Camptime repository.

You can then log time with the Camptime engine with camptime logtime using the following command:

camptime logtime

Running the command (Laravel)

One your API key and service provider is in place, you can log time with the Camptime engine with logtime

logtime

You'll see a list of all the active projects in your Basecamp account that you have access to.

Entering time for a project is easy. Simply put the Project's ID and type an entry into the prompt like so:

12345|1.5|Added to-do sorting

Press enter and an entry for 1 1/2 hours will be added for project ID 12345 with a description that reads "Added to-do sorting".

If you're adding time for the current day, you don't need to enter a date. However, you can override this with a 4th "argument", like so:

12345|1.5|Added to-do sorting|2015-09-01

After each entry, you'll be able to enter another entry. To quit the application, type CTRL-c.

camptime's People

Contributors

danielkperez avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.