freshbooks-cli-create-plugin

0.3.3 • Public • Published

freshbooks-cli-create-plugin

Build Status

A freshbooks-cli plugin to generate freshbooks-cli plugins

Overview

freshbooks-cli is a command-line interface to the FreshBooks API.

freshbooks-create-plugin implements the create-plugin subcommand for freshbooks-cli.

It also happens to be a generator for Yeoman, though it does not follow the generator-_ naming convention.

freshbooks-create-plugin runs interactively. It will ask you to answer some questions about the plugin you are creating, and then generate the necessary files in the current directory.

Usage

Creating your plugin

$ mkdir freshbooks-cli-myplugin
$ cd freshbooks-cli-myplugin

$ freshbooks create-plugin
# ...

Editing your plugin

$ npm link
$ grunt watch # Automatically rebuild & test on file change events

Publishing your plugin

$ npm publish
$ npm unlink
$ npm install freshbooks-cli-myplugin -g

Contributing

To rebuild & run the tests

$ git clone https://github.com/logankoester/freshbooks-cli-config.git
$ cd freshbooks-cli-config
$ npm install
$ grunt test

You can use grunt watch to automatically rebuild and run the test suite when files are changed.

Use npm link from the project directory to tell freshbooks-cli to use your modified freshbooks-cli-create-plugin during development.

To contribute back, fork the repo and open a pull request with your changes.

License

Copyright (c) 2013 Logan Koester Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i freshbooks-cli-create-plugin

Weekly Downloads

5

Version

0.3.3

License

none

Last publish

Collaborators

  • logankoester