@commercelayer/cli-dev
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -15,3 +15,6 @@ "use strict"; | ||
const formatDescription = (d) => { | ||
return d ? `${d.charAt(0).toUpperCase()}${d.substring(1)}.` : ''; | ||
let desc = d ? `${d.charAt(0).toUpperCase()}${d.substring(1)}` : ''; | ||
if ((desc !== '') && !desc.endsWith('.')) | ||
desc += '.'; | ||
return desc; | ||
}; | ||
@@ -18,0 +21,0 @@ class Readme extends core_1.Command { |
@@ -1,1 +0,1 @@ | ||
{"version":"0.1.1","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.2","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.1", | ||
"version": "0.1.2", | ||
"author": "Pierluigi Viti <pierluigi@commercelayer.io>", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/commercelayer/commercelayer-cli-dev/issues", |
@@ -25,3 +25,3 @@ @oclif/dev-cli | ||
$ cl-cli-dev (--version) | ||
@commercelayer/cli-dev/0.1.1 darwin-x64 node-v16.13.2 | ||
@commercelayer/cli-dev/0.1.2 darwin-x64 node-v16.13.2 | ||
$ cl-cli-dev --help [COMMAND] | ||
@@ -28,0 +28,0 @@ USAGE |
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
23565
401