solicms-cli

CLI for soliCMS

Usage no npm install needed!

<script type="module">
  import solicmsCli from 'https://cdn.skypack.dev/solicms-cli';
</script>

README

soliCMS cli

You need first a valid soliCMS account to use this tool.

Installation

npm install -g solicms-cli

Configuration

Create a file .tokens.yml in a folder and configure it :

name: "Olivier Bonnaure"
domains:
  <shortcut>:
    domain: whatever.solicms.com
    token: <here your private token>

Launch it

solicms <shortcut> -w

Create a new file

solicms <shortcut> -c layout -f my-layout-name

Objects available are :

  • layout
  • partial
  • css
  • js
  • spa