@sportsdigita/ddcomponents-cli
v1.0.23
Published
A CLI for creating and publishing Digideck component repositories.
Downloads
272
Readme
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'