You can use GitHub Copilot to generate terminal / command line commands via the inline chat integrated into the terminal inside of VS Code.

When working with that integrated terminal you can right click onto it to "Open Inline Chat" (or use the shortcut shown).