Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (officecli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
officecli
officecli is an npm wrapper package for the OfficeCLI binary.
It does not reimplement the CLI in JavaScript. During npm install, it downloads the matching prebuilt binary from officecli/officecli-dist, verifies checksums.txt, and exposes the officecli command on your PATH.
Install
npm install -g officecliRun it after install:
officecli --versionVersion Mapping
- npm package version
0.2.6downloads OfficeCLI releasev0.2.6 - set
OFFICECLI_NPM_VERSION=latestto test the rolling latest release
Supported Platforms
- macOS
x64 - macOS
arm64 - Linux
x64 - Linux
arm64
Windows is not supported yet because the current public binary release flow only publishes darwin and linux archives.
Environment Overrides
OFFICECLI_NPM_DIST_REPO: override the GitHub release repository, defaultofficecli/officecli-distOFFICECLI_NPM_VERSION: override the target OfficeCLI version, default the npm package versionOFFICECLI_NPM_LATEST_TAG: override the rolling release tag, defaultlatestOFFICECLI_NPM_SKIP_DOWNLOAD=1: skip the postinstall download step
Local Validation
From this repository:
cd packages/npm/officecli
npm pack --dry-run
npm install
npm run smoke:version