Socket
Book a DemoInstallSign in
Socket

@graphcms/cli

Package Overview
Dependencies
Maintainers
11
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphcms/cli

GraphCMS CLI

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
11
Created
Source

GraphCMS CLI

  • Usage
  • Commands

Usage

$ npm install -g @graphcms/cli
$ graphcms COMMAND
running command...
$ graphcms (--version)
@graphcms/cli/0.0.2 darwin-arm64 node-v16.13.2
$ graphcms --help [COMMAND]
USAGE
  $ graphcms COMMAND
...

Commands

graphcms create [TEMPLATE] [PROJECTDIR]

Generate GraphCMS project.

USAGE
  $ graphcms create [TEMPLATE] [PROJECTDIR] [-p yarn|npm|pnpm] [-t GraphCMS Content API Features &
    Recipes|UI Extensions|Frameworks & Libraries]

ARGUMENTS
  TEMPLATE    Which template do you want to use?
  PROJECTDIR  Where do you want to create new project?

FLAGS
  -p, --packageManager=<option>  Package manager to use
                                 <options: yarn|npm|pnpm>
  -t, --projectType=<option>     Kind of project
                                 <options: GraphCMS Content API Features & Recipes|UI Extensions|Frameworks & Libraries>

DESCRIPTION
  Generate GraphCMS project.

EXAMPLES
      $ graphcms create with-algolia
      $ graphcms create using-management-sdk

See code: dist/commands/create/index.ts

graphcms help [COMMAND]

Display help for graphcms.

USAGE
  $ graphcms help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for graphcms.

See code: @oclif/plugin-help

graphcms list

List available templates.

USAGE
  $ graphcms list

DESCRIPTION
  List available templates.

EXAMPLES
  $ graphcms list

See code: dist/commands/list/index.ts

Made with 💜 by GraphCMS 👋 join our community!

Keywords

oclif

FAQs

Package last updated on 06 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts