upload
upload
Command
The upload
command is used to upload the project to dodo-doc. It facilitates the transfer of your project's documentation to the dodo-doc platform, ensuring that your documents are accessible and up-to-date.
Flags
-c, --config string
Path to the configuration file (default is ".dodo.yaml"). Use this flag to specify a different configuration file if needed.-w, --workingDir string
Defines the root path of the project for the command's execution context (default is "."). This is useful for uploading projects located in different directories.--debug
Enable debug mode. Provides additional output for troubleshooting.-o, --output string
Archive file path (Deprecated).--endpoint string
Endpoint to upload (default is "http://api.dodo-doc.com/project/upload"). Use this flag to specify a custom upload endpoint if needed.--no-color
Disable color output. Useful for environments that do not support colored text.
Examples
# Upload the document to dodo.
$ dodo-cli upload
• successfully uploaded
• please open this link to view the document: https://xxx.do.dodo-doc.com