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

1.4.0 • Public • Published

npm        npm publishing

OfficeScripts-CLI

CLI for manage OSTS files

Prerequisites

Install CLI for Microsoft 365

npm i -g @pnp/cli-microsoft365

or using yarn:

yarn global add @pnp/cli-microsoft365

login on Office365

m365 login

Install

npm install -g @bsorrentino/osts-cli

Usage

Usage:
========
osts list[--path]  // list OSTS packages in SPO path. 

osts unpack [--path, -p <dest dir> [--dts] ] // download OSTS package and extract body (.ts) to dest dir (default 'osts'). 
                                             // If --dts is specified an Office Script Simplified TS Declaration  file will be copied in dest dir

osts pack [--path, -p <src dir>] [--file, -f <osts file name>] // bundle source (.ts) in src dir (default 'osts') to OSTS package and upload it

osts dts [--path, -p <dest dir>] // an Office Script Simplified TS Declaration file is copied in dest dir

/@bsorrentino/osts-cli/

    Package Sidebar

    Install

    npm i @bsorrentino/osts-cli

    Weekly Downloads

    1

    Version

    1.4.0

    License

    MIT

    Unpacked Size

    30.6 kB

    Total Files

    10

    Last publish

    Collaborators

    • bsorrentino