Skip to main content

Tool to view list of Git TODO`s and sync with wunderlist

Project description

# gito

## (Easy TODO`s)
### Command line python library to view TODO`s from all the files under a directory with deadline displays and wunderlist uploads.
#
#
## Installing Gito is Simple, Here we go..
### Installing pip
```sh
$ wget https://bootstrap.pypa.io/get-pip.py
$ python get-pip.py
```
### Installing Gito
```sh
$ pip install gito
```
## Configuration
Configuration Location - `~/.gito` (or) `C:\\Users\\user\\.gito`
#### Initialize Configuration
The configuration file can be created using gito cli.
```
$ gito --initconfig
```
#### Configuration usage
```yaml
wl_access_token: YOUR_WUNDERLIST_ACCESS_TOKEN
```
`Note: Please Obtain the access token for your wunderlist account by visiting`
[wloauth](http://wloauth.herokuapp.com)
## Usage Example
#### gito cli

```
$ gito
usage: gito [-h] [--wsync] [--display] [--initconfig]

Gito - Command Line Utility to Print TODO`s in source files & upload to
wunderlist

optional arguments:
-h, --help show this help message and exit
--wsync Sync the TODO`s to wunderlist
--display Display all the TODO`s
--initconfig Init Gito Configuration file under home

```
#### Displaying todos (example)
```
$ gito --display
TODO`s:

/Users/xyz/project/main.py
1. [NO-DUE] Plan for new functionality
2. [NO-DUE] Refactor the code

/Users/xyz/project/test.py
1. [NO-DUE] Test xyz functionality

```
#### Uploading todos to wunderlist (example)
```
$ gito --display
Uploading tasks to Wunderlist:
Syncing task - Plan for new functionality
[DONE]
Syncing task - Refactor the code
[DONE]
Text xyz functionality
{DONE}
```
## Gito features & Rules
#### TODO Format
```bash
// TODO: Your todo here
```
`(or)`
```python
# TODO: Your todo Here
```
`Note: Only single line comments are supported.`
#### Due Date
Gito allows mentioning due dates in todo which will be identified and parsed. These dates are used to display the due status and also for setting as due date in wunderlist.
###### Date Format
```bash
// TODO: 05-06-2020
```
`(or)`
```bash
# TODO: 05-06-2020
```
###### Due status
1. `[OVERDUE]` - Behind the date
2. `[ONDUE]` - On the date
3. `[NORMAL]` - Having more than `5` days
4. `[CRITICAL]` - Having less than `5` days

#### Wunderlist upload
Inorder to upload to wunderlist, the access token must be specified in the configuration file (see `Configuration`).
On upload a list with the directory name will created and every todo will be created as a task in the list. Due status are excluded in wunderlist upload.

## Releases
###### v0.9 (Beta) - Initial Release. Includes display, upload functionality.
###### v1.2
###### v2.0 (Stable) - Added support for excluding gitignore files.


#### Thanks for checking out this library. Feel free to create issues regarding bugs or features and contribute to the project by forking `dev` branch and submitting a pull request.
#### Fork it before you Spoon it.
### Contributors:
##### [raghu](http://twitter.com/raghu12133)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gito-2.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

gito-2.0-py2-none-any.whl (10.0 kB view details)

Uploaded Python 2

File details

Details for the file gito-2.0.tar.gz.

File metadata

  • Download URL: gito-2.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gito-2.0.tar.gz
Algorithm Hash digest
SHA256 5fe33bbd1f4d9a6b0765d9ba0fa27bdd4c7397898979e65dab648e766ca47292
MD5 f8050f393abd71fff22f93b9f8e2b5ce
BLAKE2b-256 ea35a5416f79338e309cf690c36e847f5d97d74cec2f455c14886f31130bd3fd

See more details on using hashes here.

File details

Details for the file gito-2.0-py2-none-any.whl.

File metadata

File hashes

Hashes for gito-2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 4cd533e98dbc79a4506982cc5b34fc351f0571e75efa40859e6ef2ce27ca968c
MD5 8e0c517c883ddebc0366462d7538787c
BLAKE2b-256 f03bc853f06d2a45ebfec2f2b6be93d2fd9fe1cd2c2afa0546ed729516d04662

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page