cog icon indicating copy to clipboard operation
cog copied to clipboard

CLI reference documentation

Open andreasjansson opened this issue 3 years ago • 2 comments

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

(edited by @zeke)

andreasjansson avatar Feb 18 '22 18:02 andreasjansson

The CLI docs should probably also explain how to run the HTTP server: https://github.com/replicate/cog/issues/413#issuecomment-1043971293

zeke avatar Feb 18 '22 18:02 zeke

Should probably also document $ cog debug dockerfile here too.

zeke avatar Mar 09 '22 17:03 zeke