0.0.7 • Published 7 years ago

@neudesic/spdeploy v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Introduction

A node package wrapper for the OfficePnP Provisioning Framework.

Install

npm install @neudesic/spdeploy --global

Examples

Initialize Settings

inituser can be run multiple time to store urls and credentials for environments.

spdeploy inituser
# Identifier: local-dev (identifier for this setting)
# Site url: https://sometenant.sharepoint.com/sites/thesite
# User: admin@sometenant.onmicrosoft.com (empty for windows auth)
# Password: ****** (empty for windows auth)

Get Provisioning Template

Basic:

spdeploy gettemplate

Get site provisioning template with options:

spdeploy gettemplate --setting <identifier_from_inituser> --filetype json --handlers Fields ContentTypes Files

Apply Provisioning Template

Basic:

spdeploy applytemplate --template spdeploy\path\to\WebTemplate.xml

Applying provisioning template to site with options:

spdeploy applytemplate --setting <identifier_from_inituser> --template spdeploy\path\to\WebTemplate.xml --handlers Pages WebSettings

Apply Neudesic Template

Basic:

spdeploy push

With options:

spdeploy push --setting <identifier_from_inituser> --templates files.json ia.json
spdeploy push --templates files.json --incremental
spdeploy push --templates files.json --since "3/1/2017 12:00 PM"
0.0.7

7 years ago

0.0.6

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago