▲ | cadamsau 5 hours ago | |
Couple of thoughts on Warp's feature for documentation of command line args... seems doable as open source. Hypothetically if an LSP-server existed for command line args, it could be integrated at the shell prompt to create an autocomplete popover. Even cooler, generating LSP syntax should be doable en masse as an LLM can read every single man page in one pass and add what it learns to the supported syntax. And for generating entire commands it's possible to create a desktop app: I'm imagining it having a text field to type what you need ("a command to double the speed of a video") and then it'd: 1. generate the command ("ffmpeg -i input.mp4 -vf "setpts=2*PTS" -c:v libx264 output.mp4" 2. copy the command to clipboard 3. display an explanation of each part of the command and what it does (raw markdown from the model should be fine) 4 (optional togglable preference setting) after paste is detected, restore previous clipboard content This app could be created really fast now LLMs can code for us. And the command line generation could be done fully locally with ollama. |