{"repo":"cssmagic/kup","free":true,"listed":false,"github":"https://github.com/cssmagic/kup","clone":"git clone https://github.com/cssmagic/kup.git","description":"A CLI tool to sync local Markdown files and GitHub issues bidirectionally. | 一款命令行工具，实现本地 Markdown 文件与 GitHub Issues 的双向同步。","language":"JavaScript","stars":10,"topics":["markdown","cli","github-issue"],"license":"MIT","category":"cli-tools","readme_excerpt":"English 中文 Kup A CLI tool to sync local Markdown files and GitHub issues bidirectionally. 一款命令行工具，实现本地 Markdown 文件与 GitHub Issues 的双向同步。 Who Is It For Bloggers who publish with GitHub issues and want to edit drafts locally. Open-source authors who publish documentation through GitHub issues. Anyone else who needs to update GitHub issues frequently. Installation Install it globally so you can use it anytime, anywhere from the command line. (When a new version of Kup is released, run the same command again to upgrade.) Usage Publish a New Issue Kup will publish the content of file.md as a new issue in the foo/bar repository, and report the new issue number after it succeeds. Update an Existing Issue Kup will update issue 123 in the foo/bar repository with the content of file.md . Dump an Existing Issue Kup will dump issue 123 from the foo/bar repository to 123.md in the current directory. If you want to specify the output file, you can also use: Preparation Updating GitHub issues requires authentication, so you need to provide a GitHub token for Kup to call the GitHub API. 1. Create a new token on GitHub's \"Personal access tokens\" page, and make sure the repo scope is selected. (See this document for details.) 2. Put the token into an environment variable: If Kup cannot read a token from the environment, it will prompt you for one in the terminal. Command-Line Options Option Short Value Type Description --- --- --- --- --repo -r string Specify the GitHub repository --id -i inte","default_branch":null,"files":null,"tree":[],"storefront":"/r/cssmagic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cssmagic/kup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}