chirpie 1.0.1 → 1.0.2
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/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -149,7 +149,7 @@ function getClient() {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
// src/commands/post.ts
|
|
152
|
-
var postCommand = new Command3("post").description("Create a post on X").argument("<text>", "Post text (max 280 chars)").option("-a, --account <id>", "Account ID").option("-m, --media <urls...>", "Media URLs (up to 4 images or 1 video)").option("-s, --schedule <datetime>", "Schedule for later (ISO 8601)").option("--json", "Output raw JSON").action(async (text, opts) => {
|
|
152
|
+
var postCommand = new Command3("post").description("Create a post on X").argument("<text>", "Post text (max 280 chars, or 25,000 for X Premium accounts)").option("-a, --account <id>", "Account ID").option("-m, --media <urls...>", "Media URLs (up to 4 images or 1 video)").option("-s, --schedule <datetime>", "Schedule for later (ISO 8601)").option("--json", "Output raw JSON").action(async (text, opts) => {
|
|
153
153
|
const client = getClient();
|
|
154
154
|
let accountId = opts.account;
|
|
155
155
|
if (!accountId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chirpie",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Chirpie CLI — post to social media from the command line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
],
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@chirpie/sdk": "^1.0.
|
|
34
|
+
"@chirpie/sdk": "^1.0.1",
|
|
35
35
|
"commander": "^13"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|