{"id":16019547,"url":"https://github.com/fjc0k/better-qiniu-cli","last_synced_at":"2025-04-05T03:24:58.170Z","repository":{"id":96342926,"uuid":"149594779","full_name":"fjc0k/better-qiniu-cli","owner":"fjc0k","description":"更好的 Node.js 七牛云命令行工具。","archived":false,"fork":false,"pushed_at":"2020-03-14T09:00:13.000Z","size":197,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T11:44:12.748Z","etag":null,"topics":["cli","qiniu","qiniu-cli","qiniu-sdk"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fjc0k.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-20T10:51:57.000Z","updated_at":"2020-05-13T16:32:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a5c74f4-1da6-41fc-baa5-3907dfb9536f","html_url":"https://github.com/fjc0k/better-qiniu-cli","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"d059e23d58c6ef70b7fc3e7c89925e5e766932cd"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjc0k%2Fbetter-qiniu-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjc0k%2Fbetter-qiniu-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjc0k%2Fbetter-qiniu-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjc0k%2Fbetter-qiniu-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fjc0k","download_url":"https://codeload.github.com/fjc0k/better-qiniu-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247283243,"owners_count":20913538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","qiniu","qiniu-cli","qiniu-sdk"],"created_at":"2024-10-08T17:04:43.268Z","updated_at":"2025-04-05T03:24:58.150Z","avatar_url":"https://github.com/fjc0k.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# better-qiniu-cli\n\n更好的 Node.js 七牛云命令行工具。\n\n## 安装\n\n```bash\nyarn add better-qiniu-cli -D\n\n# 或者\n\nnpm i better-qiniu-cli -D\n```\n\n## 用法\n\n### 配置\n\n在项目根目录下新建 `qiniu.config.ts` 文件，写入配置：\n\n```js\nimport { Config } from 'better-qiniu-cli'\n\nexport const config: Config = {\n  accessKey: 'Access 密钥',\n  secretKey: 'Secret 密钥',\n  tasks: [\n    {\n      type: '任务类型',\n      options: {\n        // 任务选项\n      }\n    },\n  ]\n}\n```\n\n**注意：** `tasks` 中指定的任务将依次顺序执行。\n\n### 使用\n\n```bash\nyarn qiniu\n```\n\n在 `package.json` 中你可以这么使用：\n\n```json\n{\n  \"scripts\": {\n    \"deploy\": \"qiniu\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjc0k%2Fbetter-qiniu-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffjc0k%2Fbetter-qiniu-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjc0k%2Fbetter-qiniu-cli/lists"}