@contentstack/cli-cm-bootstrap

    1.0.1 • Public • Published

    Contentstack CLI’s “Bootstrap” plugin enables you to automate the process of setting up projects for sample and starter apps in Contentstack.

    This means that all the required steps such as stack, environment, and content type creation, entry and asset publishing are performed just by using a single command.

    Usage

    $ npm install -g @contentstack/cli-cm-bootstrap
    $ csdx COMMAND
    running command...
    $ csdx (-v|--version|version)
    @contentstack/cli-cm-bootstrap/1.0.1 darwin-x64 node-v13.14.0
    $ csdx --help [COMMAND]
    USAGE
      $ csdx COMMAND
    ...
    $ npm install -g @contentstack/cli-cm-clone
    $ csdx COMMAND
    running command...
    $ csdx --help [COMMAND]
    USAGE
      $ csdx COMMAND
    ...

    Commands

    csdx cm:bootstrap

    Bootstrap contentstack apps

    USAGE
      $ csdx cm:bootstrap
    
    OPTIONS
      -a, --appName=appName          App name, reactjs-starter, nextjs-starter, gatsby-starter, angular-starter,
                                     nuxt-starter
    
      -d, --directory=directory      Directory to setup the project. If directory name has a space then provide the path as
                                     a string or escap the space using back slash eg: "../../test space" or ../../test\
                                     space
    
      -t, --accessToken=accessToken  Access token for private github repo
    
    EXAMPLES
      $ csdx cm:bootstrap
      $ csdx cm:bootstrap -d <path/to/setup/the/app>
      $ csdx cm:bootstrap -t <github access token>
    

    See code: src/commands/cm/bootstrap.ts

    Install

    npm i @contentstack/cli-cm-bootstrap

    DownloadsWeekly Downloads

    121

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    30 kB

    Total Files

    13

    Last publish

    Collaborators

    • shafeeqd959
    • mynk
    • kego1992
    • roshangade
    • iyerrama29
    • uukkoji
    • cloudaccounts
    • gautam.lodhiya
    • hiteshshetty