Hey, I'm Sprucebot! This CLI was designed to give you the tools you need to begin building skills to help brick-and-mortar businesses thrive in the Internet age.
Our goal is to connect people, not replace them. So make sure your skill promotes human-to-human connection.
First there were desktop applications, then mobile apps, now we are entering the Decade of the Skill
! 💥💥💥
They are the next step in App Evolution
. They are interface agnostic. They react to real world events.
Beyond reacting JUST voice commands (Alexa -COMING SOON-, Google Home -COMING SOON-, HomePod -COMING SOON-). I can chat through pretty much any interface (sms, Facebook Messenger -COMING SOON-, etc.), I know when teammates arrive at work, when guests arrive at local businesses, when business owners ask to borrow a ladder from a neighbor -COMING SOON-, when guests message a business, EVEN WHEN SOMEONE BOOKS A HAIRCUT!! 💇
But, to be clear; I take privacy very seriously and as a Skills Developer, I'm not gonna share much with you. Seriously, all you'll get is the guest's first name and a link to their profile photo in a few sizes. Oh, and you can only access data your skill collects. All data shared between skills is done through the emitting of events.
Anyway, what was I saying before things got all serious?
It's the ultimate social network, and with your skills giving me the power to facilitate amazing experiences, brick-and-mortar, ma and pa shops will live long into the future. 🌲🤖
npm i -g @sprucelabs/sprucebot-cli
Before you build your first Skill, you need to setup a business, lets do that!
npm i -g @sprucelabs/sprucebot-cli
cd ~/path/to/dev/folder
sprucebot skill create
This is where the magic happens!
sprucebot skill create
sprucebot remote set [prod|alpha|stage|qa|dev|alpha]
prod
alpha
locations, eg Spruce, email scientists@sprucelabs.ai
stage
... you guessed itsprucebot skill register
remote
sprucebot skill update
package.json#version
to sprucebot-skills-kit@version
git status
yarn install && yarn test
sprucebot skill unregister
-COMING SOON-
Requires you to have an account at your chosen remote
(probably platform.spruce.ai).
sprucebot user login
sprucebot user logout
-COMING SOON-*
When your skill needs to respond to different events (enter, leave), you need to simulate them locally.
cd my-skill-dir
sprucebot simulator start
Once the simulator is running, you can press different keys to simulate events. You'll see when you get there.
This section is only relevant if you've been given permission to work directly on my core systems.
sprucebot platform install [path]
path
defaults to ./sprucebot
-p --platform
to select web
, api
, or defaults all
--s --select-version
to checkout specific versions once cloned-b --branch
the branch to checkout, defaults to dev
com-sprucebot-api
com-sprucebot-web
sprucebot-dev-services
sudo sprucebot platform development
local.spruce.ai
, local-api.spruce.ai
, and local-devtools.spruce.ai
to hosts
sprucebot platform start [key]
key
can be all
, web
, api
, relay
all
sudo sprucebot platform logs [key]
key
can be all
, web
, api
, relay
all
sprucebot platform version