Socket
Book a DemoInstallSign in
Socket

lucy

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lucy

A command line tool for building LucyBot apps

latest
Source
npmnpm
Version
0.1.5
Version published
Maintainers
1
Created
Source

lucy

lucy is a command-line tool for working with LucyBot's App Generator API

Installation

npm install -g lucy

You can get an API key at https://lucybot.com/register.

Usage

lucy build \
  --apikey="your_lucybot_apikey" \
  --directory=path/to/app \
  --destination=path/to/dest \
  --server="node" \
  --client="html-ejs" \
  --views="view1,view2" \
  --actions="action1"
  
lucy publish \
  --apikey="your_lucybot_apikey" \
  --apisecret="your_lucybot_apisecret" \
  --name="my_app" \
  --directory=path/to/app \
  --views="view1,view2" \
  --actions="action1"

lucy publish will publish the contents of --directory to the App Generator API

lucy build will build your app in the specified languages, using these files instead of the files currently published. This allows you to work on your app locally before publishing it.

App Directory Structure

A sample directory is at http://github.com/lucybot/hacker-news

The directory specified by --directory should be structured as

+ actions/
    + node/
        - action1.ejs.js
    + ruby/
        - action1.ejs.rb
    + ...
    + request/
        - action1.ejs.js
+ views/
    + html/
        - view1.ejs.html
        - view2.ejs.html

FAQs

Package last updated on 17 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts