@postonus/cli 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/README.md +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +30 -27
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Schedule and publish social posts from your terminal.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npm install -g postonus
|
|
6
|
+
npm install -g @postonus/cli
|
|
7
7
|
postonus login
|
|
8
8
|
postonus post "shipping today" --to x,linkedin --optimal
|
|
9
9
|
```
|
|
@@ -46,7 +46,7 @@ Set `POSTONUS_API_KEY` to an API key from the dashboard. It takes precedence ove
|
|
|
46
46
|
a stored session, so no `login` step is needed:
|
|
47
47
|
|
|
48
48
|
```yaml
|
|
49
|
-
- run: npx postonus post "$MESSAGE" --to x --optimal
|
|
49
|
+
- run: npx @postonus/cli post "$MESSAGE" --to x --optimal
|
|
50
50
|
env:
|
|
51
51
|
POSTONUS_API_KEY: ${{ secrets.POSTONUS_API_KEY }}
|
|
52
52
|
```
|
package/dist/index.js
CHANGED
|
@@ -10360,7 +10360,7 @@ function formatTable(headers, rows) {
|
|
|
10360
10360
|
}
|
|
10361
10361
|
|
|
10362
10362
|
// src/version.ts
|
|
10363
|
-
var CLI_VERSION = "0.1.
|
|
10363
|
+
var CLI_VERSION = "0.1.1";
|
|
10364
10364
|
|
|
10365
10365
|
// src/client.ts
|
|
10366
10366
|
var DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
|