@sportsdigita/ddcomponents-cli

1.0.21 • Public • Published

REAMDE

Prerequisites

  • NodeJS v16+

How do I install?

  • clone repo
  • open terminal
  • navigate to repo root directory
  • run npm i -g

Supported ddcomponents CLI commands

  • ddcomponents publish submits a component via your manifest.json file at the root of your dir.
  • ddcomponents init initializes your component files and manifest to begin developing with.
  • ddcomponents update updates a component via your manifest.json file at the root of your dir.
  • ddcomponents login allows you to authenticate with the digideck. You must be authenticated to run all commands.
  • ddcomponents whoami gives the email address you are authenticated with.
  • ddcomponents --help brings up a list very similar to this one in your CLI.
  • ddcomponents --version shows current CLI version.

Supported component input types for setting attributes on your component:

  • TEXT: 'text',
  • TEXTAREA: 'textarea',
  • EMAIL: 'email',
  • URL: 'url',
  • IMAGE: 'image',
  • VIDEO: 'video',
  • MEDIA: 'media',
  • AUDIO: 'audio',
  • SLIDE: 'slide',
  • PANORAMA: 'panorama',
  • FONT: 'font',
  • FILE: 'file',
  • HEADER: 'header',
  • NUMBER: 'number',
  • DROPDOWN: 'dropdown',
  • TOGGLE: 'toggle',
  • CHECKBOX: 'checkbox',
  • CHECKBOX_GROUP: 'checkbox-group',
  • COLOR: 'color',
  • DATETIME: 'datetime'

Package Sidebar

Install

npm i @sportsdigita/ddcomponents-cli

Weekly Downloads

72

Version

1.0.21

License

ISC

Unpacked Size

76.6 kB

Total Files

58

Last publish

Collaborators

  • mhuebsch
  • liemho
  • njgentile
  • dsvacina
  • jdaniels
  • coryfactor
  • lsorensen
  • tbrueske
  • jasonn318