You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const algoliaCommand = require('./lib/algolia').default |
|
|
|
hexo.extend.console.register('algolia', 'Index your posts on Algolia', { |
|
options: [{ |
|
name: '-n, --no-clear', desc: 'Does not clear the existing index' |
|
}] |
|
}, (options, callback) => { algoliaCommand(hexo, options, callback)}) |
|
|
|
|