Use filepath.Base(os.Args[0]) to get cleaner output
@jvandellen 已经在做这个了。
开始于 2020年2月11日。
评估
这个 Issue 还没有评估数据。
描述
thinking maybe would be more useful if you changed the output of the create Check status with 'cloud server status --uniq_id 2HUSP1' to Check status with 'liquidweb-cli cloud server status --uniq_id 2HUSP1' so you can just copy paste assuming the cli is in your path. or like remove the '' from the output to get a cleaner oneliner you can just copy
ssullivan 1:03 PM
or make it print filepath.Base(os.Args[0]) perhaps in place (edited)ssullivan 1:04 PM
package main
import (
"fmt"
"os"
"path/filepath"
)
func main() {
fmt.Println(filepath.Base(os.Args[0]))
}
- 主要语言
- Go
- 星标
- 12
- 派生
- 4
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
liquidweb/liquidweb-cli 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 38/100
liquidweb/liquidweb-cli#90 ·
-
难度 4/5 3-5 天 新手友好度 35/100
liquidweb/liquidweb-cli#88 ·
查看 liquidweb/liquidweb-cli 的全部 Issue
相似的 Issue
-
bug frontend grammar sev-3
难度 2/5 1-3 小时 新手友好度 63/100
-
connector docs good first issue
难度 2/5 1-3 小时 新手友好度 72/100
soma-intelligence/open-health-sync#134 ·
维护者通常 1 天内回复
-
bug frontend
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复
-
oss/0 pending team/container-integrations
难度 2/5 1-3 小时 新手友好度 68/100
DataDog/datadog-agent#58323 ·
维护者通常 1 天内回复