Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
phiros authored Apr 5, 2019
1 parent f7611df commit cb03bd4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ A [Mite](https://mite.yo.lk/en/) time tracking command line interface.
1. Grab a release from https://github.com/leanovate/mite-go/releases for your operating system and unpack it into your
$PATH (or %PATH% on windows).
2. Setup `mite-go` to use your API key by:
1. visiting https://<your account name here>.mite.yo.lk/myself and note down the API key
1. visiting https://"your account name here".mite.yo.lk/myself and note down the API key
2. executing the following commands
`mite-go config api.key=<your API key here>`
`mite-go config api.url=https://<your account name here>.mite.yo.lk`
`mite-go config api.key="your API key here"`
`mite-go config api.url=https://"your account name here".mite.yo.lk`
3. Optional: set a default project & service by:
1. retrieving the desired project & service id by executing `mite-go projects` and `mite-go services` respectively
2. configuring those id's as default by executing `mite-go config projectId=<the project id>` and `mite-go config serviceId=<the service id>`
2. configuring those id's as default by executing `mite-go config projectId="the project id"` and `mite-go config serviceId="the service id"`
4. Optional: mite-go allows you to define often used project & service combinations as activities. You can configure them by:
1. think of a good name for the activity
2. run `mite-go config activity.<your activity name here>.projectId=<the project id>`
3. run `mite-go config activity.<your activity name here>.serviceId=<the service id>`
2. run `mite-go config activity."your activity name here".projectId="the project id"`
3. run `mite-go config activity."your activity name here".serviceId=<the service id"`
4. the activity names can be used in the `entries create` and `entries edit` sub-commands

# Usage
Expand Down

0 comments on commit cb03bd4

Please sign in to comment.