[BUG] Can't pipe commands to code
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện pwd | code - trong Cloud Shell của cổng Azure bằng bash, sau đó theo dõi cách Cloud Shell xử lý đối số code - và đầu vào tiêu chuẩn được truyền qua pipe. Công việc được xem là hoàn tất khi đầu ra của lệnh được truyền qua pipe mở trong Cloud Shell code thay vì ký tự - nguyên văn, bao gồm cả các đầu ra lớn hơn như phản hồi JSON của Azure CLI.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
To Reproduce
pwd | code -
Observed Behavior
Cloudshell code opens with - instead of the result of the pwd command
Expected behavior
Cloudshell code should open with the result of the pwd command
This is an example with the pwd command but in practice it makes sense to pass command outputs to the code application, for example to read the big json responses az cli returns. You can pipe command outputs to code in a Linux machine by piping the command output to code with the hypen but this is not supported in the cloud version. An alternative is to put the output in a file and open the file, for example pwd > out | code out but this is cumbersome.
Is this specific to Cloud Shell?
Yes
Interface information
portal.azure.com cloud shell with bash
Additional context
No
- Ngôn ngữ chính
- PowerShell
- Star
- 273
- Fork
- 116
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/CloudShell
-
Blood TestĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
Azure/CloudShell#654 · 2 bình luận ·
-
bug Triage-needed
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Azure/CloudShell#653 ·
-
bug Triage-needed
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
Azure/CloudShell#649 · 2 bình luận ·
-
[BUG] Bash session falls back to ephemeral (“Failed to mount the Azure file share”) after $HOME image is attached; intermittent across 5 file shares, 3 storage accounts, 2 subscriptionsCó thể đã có người làm @priyaananthasankar đã nhận 21 ngày trước. Đang mởbug
Azure/CloudShell#648 · 1 bình luận · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Azure/CloudShell#611 · 5 bình luận · 1 reaction ·
Tất cả issue của Azure/CloudShell
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Agent-Threat-Rule/agent-threat-rules#766 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[v5-preview5] `func new` displays incorrect command in error message when project is not initializedĐang mởNeeds: Triage (Functions) v5 v5-preview5
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Azure/azure-functions-core-tools#5838 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
good first issue help wanted new check
Độ khó 2/5 3-5 ngày Mức phù hợp với người mới 78/100
-
friction
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
kentcdodds/kody#4753 ·
-
fix(scan): validate and normalize output format in validate-contractCó thể đã có người làm @WKr1shna đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày