Skip to main content

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"
```

Project details


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

cykle-0.1.4-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

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