@usesocial/cli 0.2.4 → 0.2.5
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/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/bin/social.mjs +6 -4
- package/dist/index.d.mts +1394 -1
- package/dist/index.mjs +69 -49
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @usesocial/cli
|
|
2
2
|
|
|
3
|
+
## 0.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7](https://github.com/usesocial/monorepo/pull/7) [`28a46ee`](https://github.com/usesocial/monorepo/commit/28a46ee3330a83b806cfcb95684d4b4493bcb2b5) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Inline PostHog release environment variables into the published CLI bundle.
|
|
8
|
+
|
|
3
9
|
## 0.2.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<h1 align="center">@usesocial/cli</h1>
|
|
9
9
|
|
|
10
|
-
**
|
|
10
|
+
**LinkedIn & X CLI.** One install, one login, and your agent can run
|
|
11
11
|
distribution work across X and LinkedIn — outreach, posting, audience insights,
|
|
12
12
|
and the follow-up loops between them — from any shell.
|
|
13
13
|
|
|
@@ -95,7 +95,7 @@ connected account.
|
|
|
95
95
|
| `config cache mode` | Read or set the cache mode preset. | |
|
|
96
96
|
| `config cache ttl` | Set a custom cache TTL in seconds. | |
|
|
97
97
|
|
|
98
|
-
`social account` returns compact JSON with the
|
|
98
|
+
`social account` returns compact JSON with the authenticated user and connected accounts.
|
|
99
99
|
|
|
100
100
|
### `social linkedin`
|
|
101
101
|
|
package/bin/social.mjs
CHANGED
|
@@ -5,7 +5,9 @@ import { fileURLToPath, pathToFileURL } from "node:url";
|
|
|
5
5
|
const packageRoot = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
6
6
|
const entryURL = pathToFileURL(join(packageRoot, "dist", "index.mjs")).href;
|
|
7
7
|
|
|
8
|
-
import(entryURL)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
import(entryURL)
|
|
9
|
+
.then(({ main }) => main())
|
|
10
|
+
.catch((error) => {
|
|
11
|
+
console.error(error);
|
|
12
|
+
process.exit(1);
|
|
13
|
+
});
|