跳转到主要内容

导出Trello看板和卡片到Markdown

项目描述

trello2md

导出Trello看板和卡片到Markdown。目前针对我的笔记工作流程定制。

安装

使用pipx在您的系统上安装

$ pipx install --python python3.8 trello2md

授权使用Trello API

$ trello2md auth

导出Trello看板

使用Trello看板的URL作为唯一参数运行,以将Markdown文件写入目录。例如

$ trello2md https://trello.com/b/WODq2cwg/sample-board

$ tree sample-board/
sample-board/
├── another-card-1.md
├── another-card-2.md
├── another-card.md
├── copied-card.md
├── index.md
└── sample-card.md

$ cat sample-board/index.md
# {Sample Board}

## Sample List

- [Sample Card](sample-card.md) 2019-05-07, @bhrutledge, `green`, `Sample Label`
- [Copied Card](copied-card.md) 2019-05-07

## Empty List

## Another List

- [Another Card](another-card.md)
- [Another Card](another-card-1.md)
- [Another Card](another-card-2.md)

导出Trello卡片

使用Trello卡片的URL作为唯一参数运行,以打印Markdown。例如

$ trello2md https://trello.com/c/HGYGb5iM/2-sample-card
# Sample Card

2019-05-07, @bhrutledge, `green`, `Sample Label`

Sample description

## Checklist

- [x] Completed item
- [ ] Incomplete item

## Attachments

- [Example link](https://example.com)

## Comments

### bhrutledge on 2019-05-06

Sample comment

开发

  • 在您的系统上安装tox,例如使用pipx

    $ pipx install tox
    
  • Fork并克隆此存储库

  • 运行测试并生成覆盖率报告

    $ tox -e py38,coverage
    
  • 运行格式化和检查工具

    $ tox -e check
    
  • 要单独运行开发工具,创建并激活一个虚拟环境

    $ tox -e venv
    
    $ source venv/bin/activate
    

    这将安装

项目详情


下载文件

下载您平台对应的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源代码发行版

trello2md-0.5.0.tar.gz (32.0 kB 查看哈希值)

上传时间 源代码

构建发行版

trello2md-0.5.0-py2.py3-none-any.whl (6.8 kB 查看哈希值)

上传时间 Python 2 Python 3

支持者