Generate prompt
--generate-prompt¶
Generate a prompt for consulting LLMs about CLI options.
Outputs a formatted prompt containing your current options, all available options by category, and full help text. Pipe to CLI LLM tools or copy to clipboard for web-based LLM chats.
See also: LLM Integration for detailed usage examples
Usage
datamodel-codegen --generate-prompt # (1)!
datamodel-codegen --generate-prompt "How do I generate strict types?" # (2)!
-
--generate-prompt- generate prompt without a question - Include a specific question in the prompt