@sportsdigita/ddcomponents-cli
v1.0.33
Published
A CLI for creating and publishing Digideck component repositories.
Downloads
473
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 publishsubmits a component via your manifest.json file at the root of your dir.ddcomponents initinitializes your component files and manifest to begin developing with.ddcomponents updateupdates a component via your manifest.json file at the root of your dir.ddcomponents loginallows you to authenticate with the digideck. You must be authenticated to run all commands.ddcomponents whoamigives the email address you are authenticated with.ddcomponents --helpbrings up a list very similar to this one in your CLI.ddcomponents --versionshows 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'
