3 ms·
Could you give some examples? I'm having the AI write the shell scripts, wondering if I'm missing out on some comfy UIs...
by andai 1y ago
Could you give some examples? I'm having the AI write the shell scripts, wondering if I'm missing out on some comfy UIs...
- foobarian 1y agoI was debugging a service that was spitting out a particular log line. I gave Copilot an example line, told it to write a script that tails the log line and serves a UI via port 8080 with a table of those log lines parsed and printed nicely. Then I iterated by adding filter buttons, aggregation stats, simple things like that. I asked it to add a "clear" button to reset the UI. I probably would not even have done this without an AI because the CLI equivalent would be parsing out and aggregating via some form of uniq -c | sort -n with a bunch of other tuning and it would be too much trouble.
- sumedh 1y agoIt can be anything. It depends on what you want to do with the output. You can have a simple dashboard site which collects the data from our shell scripts and shows your a summary or red/green signals so that you can focus on things which are interested in.