typefully 0.1.1 → 0.2.0

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 CHANGED
@@ -1,3 +1,6 @@
1
+ <img src="https://github.com/ahmadawais/typefully-cli/blob/main/.github/cover.png?raw=true" alt="Typefully CLI" />
2
+
3
+
1
4
  # Typefully CLI
2
5
 
3
6
  A TypeScript CLI and AI agent skill for drafting, scheduling, and managing social media posts across X, LinkedIn, Threads, Bluesky, and Mastodon.
@@ -42,24 +45,27 @@ typefully setup
42
45
  ### 4. Start using it
43
46
 
44
47
  ```bash
45
- # Create a tweet
46
- typefully drafts create --text "Hello, world!"
48
+ tfly # interactive pick text, platform, schedule
49
+ tfly "Hello, world!" # instant draft from text
47
50
 
48
- # Quick alias positional text, no flags needed
49
- typefully create-draft "Hello, world!"
51
+ tfly rm # interactivepick drafts to delete
52
+ tfly rm <draft_id> # delete a specific draft
50
53
 
51
- # List scheduled posts
52
- typefully drafts list --status scheduled
54
+ tfly drafts list --status scheduled
55
+ tfly drafts list --json # raw JSON for scripts/pipes
56
+ ```
53
57
 
54
- # Create a cross-platform post
55
- typefully drafts create --platform x,linkedin --text "Big announcement!"
58
+ #### Aliases (short forms)
56
59
 
57
- # Schedule for next available slot
58
- typefully drafts create --text "Scheduled post" --schedule next-free-slot
60
+ | Alias | Equivalent |
61
+ |-------|-----------|
62
+ | `tfly "text"` | `typefully drafts create --text "text"` |
63
+ | `tfly create-draft "text"` | same, with full flag support |
64
+ | `tfly update-draft <id> "text"` | `typefully drafts update` |
65
+ | `tfly rm [draft_id]` | `typefully drafts delete` |
66
+
67
+ <img src="https://github.com/ahmadawais/typefully-cli/blob/main/.github/image.png?raw=true" alt="Typefully CLI" />
59
68
 
60
- # Output raw JSON (for scripts/pipes)
61
- typefully drafts list --json
62
- ```
63
69
 
64
70
  ## Output Modes
65
71
 
@@ -96,6 +102,8 @@ typefully config show
96
102
  typefully config set-default # interactive
97
103
  typefully config set-default 123 --location global
98
104
  typefully config set-default 123 --scope local # --scope is an alias for --location
105
+ typefully config set-platforms # interactive multiselect
106
+ typefully config set-platforms --platforms x,linkedin,threads
99
107
  ```
100
108
 
101
109
  ### User & Social Sets
@@ -120,6 +128,7 @@ typefully drafts get <draft_id> --use-default
120
128
  typefully drafts get <social_set_id> <draft_id>
121
129
 
122
130
  # Create
131
+ tfly "Post content" # alias for `typefully drafts create --text "Post content"`
123
132
  typefully drafts create --text "Post content"
124
133
  typefully drafts create -f ./post.txt # -f is short for --file
125
134
  typefully drafts create --text "..." --platform x,linkedin
@@ -197,7 +206,8 @@ Config files are stored as JSON with `0600` permissions:
197
206
  ```json
198
207
  {
199
208
  "apiKey": "typ_xxxx",
200
- "defaultSocialSetId": 12345
209
+ "defaultSocialSetId": 12345,
210
+ "defaultPlatforms": ["x", "linkedin"]
201
211
  }
202
212
  ```
203
213
 
@@ -232,7 +242,7 @@ npx skills add ahmadawais/typefully-cli
232
242
 
233
243
  - [Typefully](https://typefully.com)
234
244
  - [API Documentation](https://typefully.com/docs/api)
235
- - [CLI Spec](./CLI-SPEC.md)
245
+ - [CLI Spec](./skills/spec.md)
236
246
 
237
247
  ## License
238
248