@crstn/neos-cli
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@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 COMMAND
running command...
$ neos (-v|--version|version)
@crstn/neos-cli/0.1.0 darwin-x64 node-v13.11.0
$ neos --help [COMMAND]
USAGE
  $ neos COMMAND
...

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

Commands

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

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

Readme

Keywords

Package Sidebar

Install

npm i @crstn/neos-cli

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

7.6 kB

Total Files

9

Last publish

Collaborators

  • crstn