Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

cesconix/storeden-deploy-cli

Repository files navigation

⚠️ Archived Repository: This project is no longer maintained and is kept here for archival purposes only. Please note that the code may be outdated and no longer functional.

Storeden Deploy CLI

deploy template made easy

build status npm version dependencies devDependencies vulnerabilities javascript style guide conventional commits

CLI to deploy template on a Storeden instance.

Quick Overview

Installation

npm install -g storeden-deploy-cli

Usage

Usage: storeden-deploy [options]

Options:
  --apiKey, -k       API Key associated with your Storeden Store      [required]
  --apiExchange, -e  API Exchange associated with your Storeden Store [required]
  --sourcePath, -p   Path to template folder to deploy                [required]
  --watch, -w        Enable watch mode to deploy automatically         [boolean]
  --help             Show help                                         [boolean]
  --version          Show version number                               [boolean]

Missing required arguments: apiKey, apiExchange, sourcePath

Example - Deploy template with watch mode enabled

$ storeden-deploy \
  --apiKey 'd27f134FAKE8376f' \
  --apiExchange '83cc5fb8FAKEdd9b' \
  --sourcePath './storeden/dist'
  --watch

Example - Deploy template excluding some directory or file

$ storeden-deploy \
  --apiKey 'd27f134FAKE8376f' \
  --apiExchange '83cc5fb8FAKEdd9b' \
  --sourcePath './storeden/dist:**/{widgets,generated}/**'

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT. Copyright (C) 2019 H-FARM (Enabling Solutions) - Francesco Pasqua.