feat(create): create in the current directory when its absolute path is the app path
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
首先閱讀 slack create 的路徑處理,以及 issue 指出與此行為相關的 #885 中的變更。將輸入的絕對路徑與工作目錄進行比較,並檢查現有的空目錄情況是如何處理的。完成標準是:傳入目前目錄的絕對路徑後,專案會建立在該目錄中,而不是建立在帶有 -1 後綴的相鄰目錄中。
由索引模型根據 Issue 內容生成。
描述
Description
Passing the absolute path of the current directory to slack create creates a sibling directory with a -1 suffix instead of creating the project in the current directory:
$ mkdir app && cd app
$ slack create "$(pwd)" --template slack-samples/bolt-js-starter-template
# Creates ../app-1
With #885, slack create . creates the project in the current directory when it's empty. Comparing filepath.Abs(input) to the working directory could treat "$(pwd)" the same way. That changes the outcome of an invocation that works today, so it's tracked here instead of in #885.
Found in review of #885.
- 主要語言
- Go
- 星號
- 321
- 分支
- 52
- 平均合併
- 17 小時 44 分鐘
- 30 天內合併 PR
- 138
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
slackapi/slack-cli 的其他 Issue
-
Installer aborts on an existing same-named `slack` binary; prefer install + warning over hard abort未關閉bug
難度 2/5 1-3 小時 新手友好度 76/100
slackapi/slack-cli#671 · 1 則留言 ·
維護者通常 1 天內回覆
-
enhancement
難度 3/5 1-2 天 新手友好度 55/100
維護者通常 1 天內回覆
-
Tests fail when using fish (and possibly other shells)可能已有人在做 @Muhtasham 於 193 天前認領。 未關閉build code health
難度 3/5 1-2 天 新手友好度 55/100
slackapi/slack-cli#462 · 4 則留言 ·
維護者通常 1 天內回覆
-
docs question
難度 5/5 一週以上 新手友好度 25/100
slackapi/slack-cli#343 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
server side issue
難度 4/5 3-5 天 新手友好度 25/100
slackapi/slack-cli#342 · 2 則留言 ·
維護者通常 1 天內回覆
查看 slackapi/slack-cli 的全部 Issue
相似的 Issue
-
ec2-subnet, security-group and internet-gateway skip all resources when one is deleted during the scan可能已有人在做 @toabctl 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 75/100
gruntwork-io/cloud-nuke#1208 ·
維護者通常 5 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
snowflakedb/gosnowflake#1872 ·
-
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
-
Linux 主机 macOS 主机
難度 2/5 1-3 小時 新手友好度 82/100
Lee-xeo/Claude-Cage#1455 ·
維護者通常 1 天內回覆