Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

导出为csv格式 #16

Open
colin-han opened this issue Jun 27, 2024 · 0 comments
Open

导出为csv格式 #16

colin-han opened this issue Jun 27, 2024 · 0 comments
Assignees

Comments

@colin-han
Copy link
Owner

colin-han commented Jun 27, 2024

可以指定节点导出为csv格式,接口如下:

enum Attributes { ID, TITLE, ESTIMATION, COMPLETION_RATE, ASSIGNEE, TAGS };
void exportCsv(Path filePath, String[] rootPath, String[] categoryNames, Attributes[] attributes) {};

如下的文件:

Root
  C1
    C2
      Node 1 &5d @me %50 #a #b #c

导出样式如下:

id category1 category2 title estimation completion rate assignee tags
1.1 C1 C2 Node 1 5 days 0% me a b c
@colin-han colin-han self-assigned this Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant