hexojs / hexojs/site

API documentation missing information on available global and command options.

Open
#429 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Stylus
Stars
719
Forks
1.3k
Avg merge
2d 1h
Merged PRs (30d)
9

Description

Such as `--cwd` and `--config`

Again, this is specifically for the API:
```
var Hexo = require('hexo');
var hexo = new Hexo(process.cwd(), {});
hexo.init().then(function(){
hexo.call('generate', {}).then(function(){
// ...
});
});
```

and etc. The options used for the command line version exist for the javascript API version or am I confused at the usage of the API?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.