@crstn/neos-cli

CLI for the Neos CMS.

Usage no npm install needed!

<script type="module">
  import crstnNeosCli from 'https://cdn.skypack.dev/@crstn/neos-cli';
</script>

README

@crstn/neos-cli

A simple, quite opinionated CLI for the Neos CMS.

oclif Version Downloads/week License

Usage

Currently, there is only one command that downloads Neos-Skeleton and continues with some steps from the getting started guide for a convenient project setup.

What it does:

  1. Clones the repository.
  2. If set, NEOS_PACKAGE_NAME and COMPOSER_PACKAGE_NAME are replaced (only OS X / BSD is supported at this time).
  3. Removes the docs folder.
  4. Removes .git and initiates a new Git repository.
  5. Installs dependencies with composer install.
$ npm install -g @crstn/neos-cli
$ neos download PROJECT_NAME --neos_package_name="YourCompany.Site" --composer_package_name="yourcompany\/site"

If you wish, omit these flags and export the shell variables NEOS_PACKAGE_NAME and COMPOSER_PACKAGE_NAME before using this CLI.

Commands

neos help [COMMAND]

display help for neos

USAGE
  $ neos help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

neos download [PROJECT_NAME]

download boilerplate for new projects

USAGE
  $ neos download [PROJECT_NAME]

OPTIONS
  -c, --composer_package_name=composer_package_name  new composer package name
  -h, --help                                         show CLI help
  -n, --neos_package_name=neos_package_name          new site package name


EXAMPLE
  $ neos download --neos_package_name="YourCompany.Site" --composer_package_name="yourcompany\/site"

See code: src/commands/download.ts