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

@commercelayer/cli-dev

Package Overview
Dependencies
Maintainers
5
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercelayer/cli-dev - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

3

lib/commands/readme.js

@@ -143,6 +143,7 @@ "use strict";

try {
const commandFormatted = wrapper.formatCommand(c).trim().replace(/\$ /g, '');
return (0, util_1.compact)([
header(),
title,
'```sh-session\n' + wrapper.formatCommand(c).trim() + '\n```',
'```sh-session\n' + commandFormatted + '\n```',
this.commandCode(config, c),

@@ -149,0 +150,0 @@ ]).join('\n\n');

@@ -1,1 +0,1 @@

{"version":"0.1.7","commands":{"readme":{"id":"readme","description":"adds commands to README.md in current directory\nThe readme must have any of the following tags inside of it for it to be replaced or else it will do nothing:\n## Usage\n<!-- usage -->\n## Commands\n<!-- commands -->\n\nCustomize the code URL prefix by setting oclif.repositoryPrefix in package.json.\n","strict":true,"pluginName":"@commercelayer/cli-dev","pluginAlias":"@commercelayer/cli-dev","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","description":"output directory for multi docs","required":true,"multiple":false,"default":"docs"},"multi":{"name":"multi","type":"boolean","description":"create a different markdown page for each topic","allowNo":false},"plugin":{"name":"plugin","type":"boolean","description":"create a plugin readme doc","allowNo":false},"bin":{"name":"bin","type":"option","description":"optional main cli command","multiple":false,"dependsOn":["plugin"]}},"args":[]}}}
{"version":"0.1.8","commands":{"readme":{"id":"readme","description":"adds commands to README.md in current directory\nThe readme must have any of the following tags inside of it for it to be replaced or else it will do nothing:\n## Usage\n<!-- usage -->\n## Commands\n<!-- commands -->\n\nCustomize the code URL prefix by setting oclif.repositoryPrefix in package.json.\n","strict":true,"pluginName":"@commercelayer/cli-dev","pluginAlias":"@commercelayer/cli-dev","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","description":"output directory for multi docs","required":true,"multiple":false,"default":"docs"},"multi":{"name":"multi","type":"boolean","description":"create a different markdown page for each topic","allowNo":false},"plugin":{"name":"plugin","type":"boolean","description":"create a plugin readme doc","allowNo":false},"bin":{"name":"bin","type":"option","description":"optional main cli command","multiple":false,"dependsOn":["plugin"]}},"args":[]}}}
{
"name": "@commercelayer/cli-dev",
"description": "Commerce Layer CLI development tools and helpers",
"version": "0.1.7",
"version": "0.1.8",
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",

@@ -73,3 +73,3 @@ "bugs": "https://github.com/commercelayer/commercelayer-cli-dev/issues",

"dependencies": {
"@oclif/core": "^1.3.4",
"@oclif/core": "^1.4.2",
"fs-extra": "^10.0.1",

@@ -76,0 +76,0 @@ "github-slugger": "^1.4.0",

@@ -38,3 +38,3 @@ # @oclif/dev-cli

USAGE
$ cl-cli-dev readme --dir <value> [--multi] [--bin <value> --plugin]
cl-cli-dev readme --dir <value> [--multi] [--bin <value> --plugin]

@@ -41,0 +41,0 @@ FLAGS

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