node-weebly
v1.0.3
Published
Weebly Platform Developer command line interface tool used for creating apps to be published on Weebly's App Center
Downloads
5
Maintainers
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:
Developers can also create custom Themes, 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 first, your client_id
will be required to access any of the Weebly APIs or to subscribe and use Weebly Webhooks.
You will need:
callback_url
= Endpoint in your app to handle App Installation and Authorizationclient_id
= Unique identifier for your app, provided by Weebly Developer Admin Portalmanage_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
Getting Started
- Install the Weebly CLI:
npm i -g node-weebly
- View list of commands with help:
weebly -h
-OR-weebly --help
- Initialize a new Weebly App:
weebly init
- 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 dependenciesweebly list <type>
- List of differenttype
of appsweebly add <type>
- Adds a new apptype
can be: "element", "dashboard-card", or "webhook"weebly delete <type> <name>
- Deletes atype
of app byname
weebly validate
- Validates that your app'smanifest.json
is valid
Authors
Contributing
Please see the full CONTRIBUTING to learn how to:
- Submit new issues
- Engage on existing issues
- Contribute source code
LICENSE
Please see the full 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:
For discretionary developer support issues, please contact us at [email protected], and we'll be happy to lend a hand!