# lucy

> A command line tool for building LucyBot apps

Latest version **0.1.5** (published 2015-03-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install lucy
pnpm add lucy
yarn add lucy
bun add lucy
```

Provides the command `lucy`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2015-03-17 |
| First published | 2014-10-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Bobby Brennan |
| Maintainers | bobby-brennan |

## Links

- npm: https://www.npmjs.com/package/lucy
- Repository: https://github.com/bobby-brennan/lucy-cmd
- Issues: https://github.com/bobby-brennan/lucy-cmd/issues
- npm.io page: https://npm.io/package/lucy

## Dependencies (4)

- [async](https://npm.io/package/async.md) ^0.9.0
- [yargs](https://npm.io/package/yargs.md) ^3.3.1
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.0
- [request](https://npm.io/package/request.md) ^2.53.0

## Recent versions

- 0.1.5 (latest) — 2015-03-17
- 0.1.4 — 2015-03-03
- 0.1.3 — 2015-02-27
- 0.1.2 — 2015-02-26
- 0.1.1 — 2015-02-26
- 0.1.0 — 2015-02-26
- 0.0.8 — 2014-10-28
- 0.0.7 — 2014-10-24
- 0.0.6 — 2014-10-24
- 0.0.5 — 2014-10-24
- 0.0.4 — 2014-10-23
- 0.0.3 — 2014-10-22
- 0.0.2 — 2014-10-22
- 0.0.1 — 2014-10-15
- 0.0.0 — 2014-10-15

## README

# lucy
lucy is a command-line tool for working with [LucyBot's App Generator API](https://lucybot.com/blog/app-generator)

## Installation
```
npm install -g lucy
```

You can get an API key at [https://lucybot.com/register](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](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
```

---
_Source: https://npm.io/package/lucy · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
