Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brandai-cli

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brandai-cli

brandai-cli is a tool to be used to download your style data from http://brand.ai

  • 1.0.4
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

brandai-cli

Command line tool that helps you sync your style assets on Brand.ai with your working environment.

Installation

npm install --global brandai-cli

Usage

$ brandai --help

 Usage
    $ brandai  <json|images|icons> --org <organization> --l <library> --k <share key>
    $ brandai  <json|images|icons> --org <organization> --l <library> --k <share key> --dest <destination folder>
    $ brandai  <json|images|icons>
    $ brandai  <json|images|icons> --dest <destination folder>

  Example
    brandai json --org acme-demo-new --l style
    brandai icons --organization acme-demo-new --library style --dest temp/
    brandai images                     (style data settings should be configured in brandai-config.json file)
    brandai json --dest source/_data   (style data settings should be configured in brandai-config.json file)

  Options
    -d, --dest               Where to place the downloaded files, default is current directory
    -org, --organization     Organization name (replace any space with a dash "-")
    -l, --library            Design library name (replace any space with a dash "-")
    -k, --key                share key (if your design library is private)
Connecting to your design library

As you see from the examples above, you can provide your design library information either by setting it in brandai-config.json or as one of the flags on the command itself.

Note: If the design library is private, you will need to provide a share key that can be found in the Share menu on Brand.ai.

Data types:
  • json - will download your design library information and create style-data.json file in the defined directory. For example, here is the style-data.json that is created for this design library.
  • icons - will download and extract your design library icons.
  • images - will download and extract your design library images.

Keywords

FAQs

Package last updated on 21 Sep 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc