canvas content-exports
canvas content-exports¶
Manage course content exports
Synopsis¶
Manage Canvas content exports and epub exports for courses.
Examples:
canvas content-exports list --course-id 1
canvas content-exports get 5 --course-id 1
canvas content-exports create --course-id 1 --export-type common_cartridge
canvas content-exports epub-create --course-id 1
canvas content-exports epub-get 3 --course-id 1
Options¶
Options inherited from parent commands¶
--as-user int Masquerade as another user (admin feature, requires permission)
--columns strings Select specific columns to display (comma-separated)
--config string config file (default is $HOME/.canvas-cli/config.yaml)
--dry-run Print curl commands instead of executing requests
--filter string Filter results by text (case-insensitive substring match)
--instance string Canvas instance URL (overrides config)
--limit int Limit number of results for list operations (0 = unlimited)
--no-cache Disable caching of API responses
-o, --output string Output format: table, json, yaml, csv (default "table")
--quiet Suppress informational messages, only output data and errors
--show-token Show actual token in dry-run output (default: redacted)
--sort string Sort results by field (prefix with - for descending, e.g., -name)
-v, --verbose Enable verbose output
SEE ALSO¶
- canvas - Canvas LMS CLI - Interact with Canvas from the command line
- canvas content-exports create - Create a content export
- canvas content-exports epub-create - Create an epub export for a course
- canvas content-exports epub-get - Get an epub export
- canvas content-exports get - Get a content export
- canvas content-exports list - List content exports for a course