Distribute as a snap?
还没有人认领这个 Issue。
评估
调研方向
从提议的 snap/snapcraft.yaml 开始,检查 CLI 如何实现 init、config、push 和 version 命令。按照描述构建并安装 snap,然后验证这些命令、version 输出以及对提议的配置路径的访问;完成的标准是 snap 可以构建并提供预期的功能。
由索引模型根据 Issue 内容生成。
描述
Hi,
Would you consider distributing this CLI tool as a snap?
This would make it much simpler to install on a bunch of distros, e.g.
snap install gotify-cli
...
gotify-cli push "Hello World"
I've worked out a minimal snapcraft yaml file (assuming it is included in this repo as snap/snapcraft.yaml):
name: gotify-cli
summary: A command line interface for pushing messages to gotify/server.
description: |
Gotify-CLI is a command line client for pushing messages to gotify/server.
version: git
grade: stable
base: core20
confinement: strict
apps:
gotify-cli:
command: bin/cli
plugs: [network]
parts:
gotify-cli:
plugin: go
source: .
This was enough for me to build it locally, install it and test the init/config/push functionalities. The version command only spits unknowns tho. Furthermore some of the proposed path for the config file are most likely not exposed by default to the snap.
- 主要语言
- Go
- 星标
- 588
- 派生
- 73
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
gotify/cli 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 74/100
-
a:feature
-
难度 4/5 3-5 天 新手友好度 25/100
-
a:feature
难度 3/5 1-2 天 新手友好度 35/100
-
a:feature
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 65/100
-
needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100
googleapis/librarian#7670 · 2 条评论 ·