# node-weebly

> Weebly Platform Developer command line interface tool used for creating apps to be published on Weebly's App Center

Latest version **1.0.3** (published 2018-01-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-weebly
pnpm add node-weebly
yarn add node-weebly
bun add node-weebly
```

Provides the command `weebly`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-01-29 |
| First published | 2018-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.9.4 |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Benjamin Dean |
| Maintainers | bdeanindy |
| Keywords | weebly, developer, platform, elements, dashboard cards, websites, helper, cli |

## Links

- npm: https://www.npmjs.com/package/node-weebly
- Repository: https://github.com/weebly/node-weebly
- Issues: https://github.com/weebly/node-weebly/issues
- npm.io page: https://npm.io/package/node-weebly

## Dependencies (7)

- [ajv](https://npm.io/package/ajv.md) ^6.0.1
- [chalk](https://npm.io/package/chalk.md) ^2.3.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [fs-extra](https://npm.io/package/fs-extra.md) ^5.0.0
- [inquirer](https://npm.io/package/inquirer.md) ^4.0.1
- [jsonfile](https://npm.io/package/jsonfile.md) ^4.0.0
- [commander](https://npm.io/package/commander.md) ^2.12.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2018-01-29
- 1.0.1 — 2018-01-20
- 1.0.0 — 2018-01-20

## README

# (Beta) Node Weebly CLI

This repository is currently in beta testing and development.

Command Line Interface (CLI) utility for helping Weebly Developers build apps quicker and easier for App Center and with fewer issues.

The Weebly CLI is open source software which empowers developers to quickly scaffold their Weebly applications.

There are four (4) primary types of apps developers can create:
* [Elements](https://dev.weebly.com/what-are-elements.html)
* [Dashboard Cards](https://dev.weebly.com/what-are-dashboard-cards.html)
* [Backend Services](https://dev.weebly.com/create-a-backend-service.html#backend-service-apps)
* [Snippets](https://dev.weebly.com/create-a-backend-service.html#snippets)

Developers can also create custom [Themes](https://dev.weebly.com/get-started-with-themes.html), however the Weebly CLI does not support themes at this time.

Please see our milestones and issues page to contribute to this open source community resource for Weebly developers.

# Prerequsites

Prior to using the `weebly init` command to initialize a new Weebly app, you will need to have defined the app on [Weebly Developer Admin Portal](https://dev.weebly.com) first, your `client_id` will be required to access any of the [Weebly APIs](https://dev.weebly.com/about-rest-apis.html) or to subscribe and use [Weebly Webhooks](https://dev.weebly.com/use-webhooks.html).

You will need:
* `callback_url` = Endpoint in your app to handle [App Installation and Authorization](https://dev.weebly.com/app-authorization-and-install-flow.html)
* `client_id` = Unique identifier for your app, provided by [Weebly Developer Admin Portal](https://dev.weebly.com)
* `manage_url` = [OPTIONAL] Endpoint in your app for users to configure/manage their instance's settings of your app on their site 
* Webhook `callback_url` = [OPTIONAL] Endpoint in your app if you plan to consume [Weebly Webhooks](https://dev.weebly.com/use-webhooks.html)

## Getting Started

1. Install the Weebly CLI: `npm i -g node-weebly`
2. View list of commands with help: `weebly -h` -OR- `weebly --help`
3. Initialize a new Weebly App: `weebly init`
4. Change your working directory into the newly created Weebly App Directory `cd <YOUR APP DIR NAME>`

## Usage 

* `weebly init` - Creates a new Weebly app project directory and dependencies
* `weebly list <type>` - List of different `type` of apps
* `weebly add <type>` - Adds a new app `type` can be: "element", "dashboard-card", or "webhook"
* `weebly delete <type> <name>` - Deletes a `type` of app by `name`
* `weebly validate` - Validates that your app's `manifest.json` is valid

## Authors
* [Daniel Lett](https://github.com/dlett)
* [Robin Whitmore](https://github.com/robinwhitmore)
* [Benjamin Dean](https://github.com/bdeanindy)

## Contributing

Please see the full [CONTRIBUTING](CONTRIBUTING.md) to learn how to:

* Submit new issues
* Engage on existing issues
* Contribute source code

## LICENSE
Please see the full [LICENSE](LICENSE) file for complete information.

## Questions?
If you have any questions or feature requests pertaining to Weebly or this developer tool, please consider asking in either:

* [Weebly Developer Community](https://community.weebly.com/t5/Developers/ct-p/Developers)
* [Issue Tracker](https://github.com/Weebly/node-weebly/issues)

For discretionary developer support issues, please contact us at <dev-support@weebly.com>, and we'll be happy to lend a hand!

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