A time tracking nodejs app for axosoft
Create a file called account.js in the base folder and put the following in it - replacing the deets accordingly:
var ACCOUNT = {
'axosoft_domain': '',
'axosoft_client_id' : ''
}
module.exports = ACCOUNT;
Just run:
npm install
You can run the app by typing:
npm start
The first time you run the app, you'll need to auth with axosoft, so just run and follow the steps:
/login
Once you've logged into axosoft and got the token, just save it via:
/token <token>
After you have completed this step, make sure you restart the app to get the app to load the access token.
All commands are prefixed with / and can kinda tab complete.
/f <feature_ticket_id>
/b <bug_ticket_id>
/c <chore_ticket_id>
When you are finished working on the ticket, make sure you run /finish
/finish <optional message to log against the axosoft work log>
If you want an add a work log, but continue work on the same ticket, you can type:
/log <some work log>
If you want to see the current timer since you ran /f, /b or /c:
/timer
> /f 123
#################
Requested Feature:
#123 Social connection buttons should be disabled when in working state
#################
Now logging time...
<time passes>
Feature #123 > /log ben just testing
Log: 0.45 mins
Time logged...
<time passes>
Feature #123 > /finish
Log: 0.3 mins
Time logged...
#################
Finished working on #123
#################
>