Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

office-addin-cli

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

office-addin-cli - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

cli.js
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
//
// The intension of the file is to avoid error during "npm install" in the root directory.
// package.json bin field calls into this file first. If ./lib/cli.js is used directly,
// lerna bootstrap will cause an error.
// If the package.json bin config specifies a file in the lib folder, it will cause an
// error during "npm install" if the lib folder doesn't exist (because the package hasn't been built yet).
// It specifies this file instead which then calls into the file in the lib folder.
require("./lib/cli.js");
#!/usr/bin/env node
Object.defineProperty(exports, "__esModule", { value: true });
const commander = require("commander");
commander.parse(process.argv);
const log_1 = require("./log");
commander.name("office-addin-cli");
commander.version(process.env.npm_package_version || "(version not available)");
// if the command is not known, display an error
commander.on("command:*", function () {
log_1.logErrorMessage(`The command syntax is not valid.\n`);
process.exitCode = 1;
commander.help();
});
if (process.argv.length > 2) {
commander.parse(process.argv);
}
else {
commander.help();
}
//# sourceMappingURL=cli.js.map
{
"name": "office-addin-cli",
"version": "0.2.0",
"version": "0.2.1",
"description": "A command-line interface for Office Add-ins.",
"main": "./lib/main.js",
"scripts": {
"cli": "node lib/cli.js",
"tsc": "tsc -p tsconfig.json",

@@ -45,3 +46,3 @@ "tsc-watch": "tsc -p tsconfig.json -w",

},
"gitHead": "416db4c11018473074697acfd47b283b8e43c220"
"gitHead": "6e786084d8a03f7373f1e73f3bf4e9d22e842aff"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc