bloggify-cli
Version:
We make publishing easy.
202 lines (56 loc) • 2.43 kB
Markdown
<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->
[](https://www.npmjs.com/package/bloggify-cli) [](https://www.npmjs.com/package/bloggify-cli)
> We make publishing easy.
You can install the package globally and use it as command line tool:
```sh
npm install --global bloggify-cli
yarn global add bloggify-cli
```
Then, run `bloggify --help` and see what the CLI tool can do.
```
$ bloggify --help
Usage: bloggify <command> [options]
We make publishing easy.
Commands:
start Starts the Bloggify process.
Options:
-h, --help Displays this help.
-v, --version Displays version information.
Examples:
$ bloggify start
$ bloggify start -c path/to/config/file.json
Documentation can be found at https://github.com/Bloggify/Bloggify.
```
Here is an example how to use this package as library. To install it locally, as library, you can use `npm install bloggify-cli` (or `yarn add bloggify-cli`):
```js
// This is how to include Bloggify as library.
const Bloggify = require("bloggify-cli")
// Start the Bloggify app
const app = new Bloggify("path/to/the/application/root")
// Do something after it's started
app.onLoad(err => {
console.log(`Bloggify server running on port ${app._serverPort}`)
})
```
There are few ways to get help:
1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.
2. For bug reports and feature requests, open issues. :bug:
For full API reference, see the [DOCUMENTATION.md][docs] file.
Have an idea? Found a bug? See [how to contribute][contributing].
If you are using this library in one of your projects, add it in this list. :sparkles:
- `bloggify-starter`
[][license] © [Bloggify][website]
[]: /LICENSE
[]: https://bloggify.org
[]: /CONTRIBUTING.md
[]: /DOCUMENTATION.md