@commercelayer/cli-dev
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23389
412
Updated@oclif/core@^1.4.2