social-light 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.mjs +3 -3
package/package.json
CHANGED
package/src/index.mjs
CHANGED
@@ -37,7 +37,7 @@ const main = async () => {
|
|
37
37
|
.parserConfiguration({
|
38
38
|
'boolean-negation': true
|
39
39
|
})
|
40
|
-
.command("version", "
|
40
|
+
.command("version", "Social Light version", {}, () => {
|
41
41
|
console.log(NPMPackage.version);
|
42
42
|
})
|
43
43
|
.command("init", "Initialize Social Light configuration", {}, initialize)
|
@@ -74,7 +74,7 @@ const main = async () => {
|
|
74
74
|
)
|
75
75
|
.command(
|
76
76
|
"edit [index]",
|
77
|
-
"Edit
|
77
|
+
"Edit an unpublished post by index",
|
78
78
|
{
|
79
79
|
index: {
|
80
80
|
describe: "Index of the post to edit",
|
@@ -85,7 +85,7 @@ const main = async () => {
|
|
85
85
|
)
|
86
86
|
.command(
|
87
87
|
"publish",
|
88
|
-
"Publish
|
88
|
+
"Publish unpublished posts",
|
89
89
|
{
|
90
90
|
continuous: {
|
91
91
|
alias: "c",
|