我正在他们的官方文档中创建一个 CKAN EXTENSION 基础。
https://docs.ckan.org/en/2.9/theming/templates.html#creating-a-ckan-extension
当我走到这一步的时候,
ckan -c /etc/ckan/default/ckan.ini 创建 -t ckanext-example_theme
我收到这个错误。
(default) root@ccgeo:/usr/lib/ckan/default/src# ckan -c
/etc/ckan/default/ckan.ini create -t ckanext-example_theme
2021-10-27 02:27:45,515 INFO [ckan.cli] Using configuration file /etc/ckan/default/ckan.ini
2021-10-27 02:27:45,515 INFO [ckan.config.environment] Loading static files from public 2021-10-27
02:27:45,544 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates
2021-10-27 02:27:45,762 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates
Usage: ckan [OPTIONS]
COMMAND [ARGS]... Error: No such command 'create'. (default)
root@ccgeo:/usr/lib/ckan/default/src#
有任何帮助吗?