Metadata-Version: 2.0
Name: cykle
Version: 0.2.7
Summary: CLI for the happy coding process
Home-page: https://github.com/sangwonl/cykle
Author: Sangwon Lee
Author-email: gamzabaw@gmail.com
License: MIT
Keywords: development issue trello
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Bug Tracking
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Requires-Dist: click (==6.2)
Requires-Dist: trello (==0.9.1)
Requires-Dist: PrettyTable (==0.7.2)
Requires-Dist: PyGithub (==1.26.0)
Requires-Dist: Fabric (==1.10.2)
Requires-Dist: configparser (==3.3.0r2)
Requires-Dist: requests (==2.9.1)

### Installation
```
$ pip install cykle
```

### Initialization
```
$ cd <your-git-repo-home>
$ cykle init
Trello API Key: <your-trello-key>           # https://trello.com/app-key
Trello Token: <your-trello-token>           # can get from opening browser that it opens
Trello Organization: <your-trello-org-name> # you must be member of the organization
Trello List for IN PROGRESS: <your-trello-list-for-inprogress>
Trello List for CODE_REVIEW: <your-trello-list-for-code-review>
Trello List for CLOSED: <your-trello-list-for-closed>
Trello Board Name: <your-trello-board-name>
Github Owner Name: <your-github-owner-name>
Github Repository: <your-github-repo-name>
Github Username: <your-github-username>
Github Password: <your-github-password>     # two-factor is not supported yet
Develop Branch: master
generating cykle config file...

```

### Work Cycle with CLI
#### List Issues
```
$ cykle issues
+---------+------------------+-------------+-------------+
| card id | card name        | list name   |   members   |
+---------+------------------+-------------+-------------+
|       2 | Update README    | to_do       | Sangwon Lee |
|       1 | Upload to github | code_review | Sangwon Lee |
+---------+------------------+-------------+-------------+
```

#### Start Work
`cykle start [issue_id:required] '[branch_name:required]'`
```
$ cykle start 2 'Update README'
```

#### Pull Request
`cykle pr [--force=True:optional] [title:optional] [body:optional]`

```
$ cykle pr
```

#### Close Issue
`cykle close [issue_id:required] [delete_remote_branch:optional]`
```
$ cykle close 2 True
```

### Refresh Trello Token
```
$ cykle token
Trello Token: <your-trello-token>           # can get from opening browser that it opens
updating cykle config file...
```


