winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.78k stars 189 forks source link

CLI: Wing Bug Helper Command #2804

Open skorfmann opened 1 year ago

skorfmann commented 1 year ago

Feature Spec

Provide a single command in the wing cli to make gathering of local context for bug / issue reporting a streamlined experience.

something like:

wing env or wing bug-env or some actually good name, which would just print out whatever information makes sense for reproducing problems and is ready to copy & paste. e.g.

wing cli: 0.18.4
wing console: 0.2.168 (0.2.168)
node: v18.14.2
os: macOS 13.3.1 (a)

Perhaps target specific infos?

perhaps pre-formatted for github issues? (e.g. markdown table) and a direct link to create a bug ticket

Use Cases

When creating bugs / issues it would be great to have detailed context information. Even just the currently requested info in bug tickets of: wing / console / node version and OS would be nice to wrap into a simple helper command. Beyond that, things like listing installed packages from a potentially present package.json could be nice.

Implementation Notes

No response

Component

CLI

Community Notes

Chriscbr commented 11 months ago

Sounds like a handy utility to have. doctor is another common name given to CLI commands that show diagnostic information about the user's environment / installation (examples: 1, 2, 3)

github-actions[bot] commented 9 months ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 3 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 6 days ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!