@marklogic-community/grove-cli
A command-line tool for generating Grove projects.
Last updated 8 months ago by withjam .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @marklogic-community/grove-cli 
SYNC missed versions from official npm registry.

MarkLogic Grove CLI (Command Line Interface)

Installation

npm install -g @marklogic-community/grove-cli

This makes the grove command available on your command-line.

Usage

grove new

Generates a new Grove project as a subdirectory of the current directory. The new command offers a choice among project templates. For now, it offers React and Vue options.

Use it by passing your new Project name.

grove new my-app

You can see options for this command by running:

grove new --help

For example, you can pass a --templateVersion. This currently corresponds to a branch or tag name in the template's git repository - though, in the future, it may refer to some other named template version.

grove config

Generates or modifies settings for your application, based on prompts. This is the preferred way to manage configuration files. Run this command from the parent directory of your generated project.

Also: Be sure to check your work into version control before running config, so you can see the changes made and back them out if necessary.

grove config

You can see options for this command by running:

grove config --help

grove demo

This command is intended for very limited use cases. You should not use it for regular application development. It is for quick demonstrations and requires that MarkLogic is already running and initialized, that all dependencies are in place on the machine where it is invoked, that provided ports are available, etc.

Generates a new application (as if you ran grove new), prompts for some configuration (as if you ran grove config), configures MarkLogic, loads sample data, and starts a Grove middle-tier and Webpack development server for front-end assets.

grove demo my-demo

You can see options for this command by running:

grove demo --help

For example, you can pass a --templateVersion. This currently corresponds to a branch or tag name in the template's git repository - though, in the future, it may refer to some other named template version.

Current Tags

  • 1.0.1                                ...           latest (8 months ago)

3 Versions

  • 1.0.1                                ...           8 months ago
  • 1.0.0                                ...           10 months ago
  • 1.0.0-rc.1                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (5)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |