CLI for the happy coding process
Project description
### Installation
```
$ pip install cykle
```
### Initialization
```
$ cd <your-git-repo-home>
$ python cykle.py init-cykle
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>
Trello Board Name: <your-trello-board-name>
Github Owner Name: <your-github-owner-name>
Github Repository: <your-github-repo-name>
$ python cykle.py trello setup-board
```
### CLI Usage
#### List Cards
```
$ python cykle.py list-card
+---------+------------------+-------------+-------------+
| card id | card name | list name | members |
+---------+------------------+-------------+-------------+
| 2 | Update README.md | to_do | Sangwon Lee |
| 1 | Upload to github | code_review | Sangwon Lee |
+---------+------------------+-------------+-------------+
```
#### Link Commit to Card
```
$ python cykle.py 0a444de0bfa0ff54e94623790076d8c9dd93f873 2
or
$ python cykle.py "$(git log -1 --oneline HEAD)" 1
```
### Setup with post-commit
- Download `post-commit` and copy it into .git/hooks
- When you commit the changes, put the prefix(`issue#<card-id>`) at the head of message like:
```
git commit -m "issue#2: your commit message"
```
```
$ pip install cykle
```
### Initialization
```
$ cd <your-git-repo-home>
$ python cykle.py init-cykle
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>
Trello Board Name: <your-trello-board-name>
Github Owner Name: <your-github-owner-name>
Github Repository: <your-github-repo-name>
$ python cykle.py trello setup-board
```
### CLI Usage
#### List Cards
```
$ python cykle.py list-card
+---------+------------------+-------------+-------------+
| card id | card name | list name | members |
+---------+------------------+-------------+-------------+
| 2 | Update README.md | to_do | Sangwon Lee |
| 1 | Upload to github | code_review | Sangwon Lee |
+---------+------------------+-------------+-------------+
```
#### Link Commit to Card
```
$ python cykle.py 0a444de0bfa0ff54e94623790076d8c9dd93f873 2
or
$ python cykle.py "$(git log -1 --oneline HEAD)" 1
```
### Setup with post-commit
- Download `post-commit` and copy it into .git/hooks
- When you commit the changes, put the prefix(`issue#<card-id>`) at the head of message like:
```
git commit -m "issue#2: your commit message"
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for cykle-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df4be7aa34a463354a4b7313cda320836e608684b463b13fa96b5564345163b8 |
|
MD5 | cd0b2b9c50ff8ef1105e03959cfb17e3 |
|
BLAKE2b-256 | 708e8b1d89b69b6cb71e0c67a2dc16906ef67170343ce19df5548f74ac50dc41 |