Cog has reference documentation for the Python API but no reference for the command line interface. The tutorials explain parts of the CLI, but it would be great to have a single page listing all of Cog's commands and their arguments.
Topics to cover:
[x] How to run the HTTP server
[x] Inspecting the generated dockerfile with cog debug dockerfile
[ ] Using the --debug flag for move verbose output
Cog has reference documentation for the Python API but no reference for the command line interface. The tutorials explain parts of the CLI, but it would be great to have a single page listing all of Cog's commands and their arguments.
Topics to cover:
cog debug dockerfile
--debug
flag for move verbose outputcog push
returns Docker image id (aka model version id) as last line of STDOUT (see https://github.com/replicate/cog/pull/804)cog debug
-- see https://github.com/replicate/cog/issues/1349(edited by @zeke)