Skip to content

Commit 6794cc8

Browse files
committed
Fixing typos in commands
1 parent 80a109e commit 6794cc8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,67 +38,67 @@ library for pretty-printing tables.
3838
1. **Get Profile Information:**
3939
Retrieve and display user profile information, including the last post made by the user.
4040
```bash
41-
python main.py get_profile
41+
python main.py get-profile
4242
```
4343

4444
2. **Get Recent Posts:**
4545
Retrieve the most recent posts.
4646
```bash
47-
python main.py get_recent_posts --limit 5
47+
python main.py get-recent-posts --limit 5
4848
```
4949

5050
3. **Get Top Liked Posts:**
5151
Retrieve the top liked posts of all time or within a specific time range.
5252
```bash
53-
python main.py get_top_liked_posts --limit 5 --time-range 2w
53+
python main.py get-top-liked-posts --limit 5 --time-range 2w
5454
```
5555

5656
4. **Create a Text Post:**
5757
Create a post with text.
5858
```bash
59-
python main.py create_text_post "This is a text post."
59+
python main.py create-text-post "This is a text post."
6060
```
6161

6262
5. **Create an Image Post:**
6363
Create a post with an image.
6464
```bash
65-
python main.py create_image_post "This is an image post." "https://example.com/image.jpg"
65+
python main.py create-image_post "This is an image post." "https://example.com/image.jpg"
6666
```
6767

6868
6. **Get Latest Replies:**
6969
Retrieve the latest replies for a specific media post.
7070
```bash
71-
python main.py get_latest_replies --media-id <media_id> --limit 5
71+
python main.py get-latest-replies --media-id <media_id> --limit 5
7272
```
7373

7474
7. **Send a Reply:**
7575
Send a reply to a specific media post.
7676
```bash
77-
python main.py send_reply --media-id <media_id> --text "This is a reply."
77+
python main.py send-reply --media-id <media_id> --text "This is a reply."
7878
```
7979

8080
8. **Schedule a Post:**
8181
Schedule a post with text at a specific time.
8282
```bash
83-
python main.py schedule_post --text "This is a scheduled post." --post-time "2024-06-22 23:22:00"
83+
python main.py schedule-post --text "This is a scheduled post." --post-time "2024-06-22 23:22:00"
8484
```
8585

8686
9. **Create a Draft:**
8787
Create a draft with text.
8888
```bash
89-
python main.py create_draft "This is a draft."
89+
python main.py create-draft "This is a draft."
9090
```
9191

9292
10. **Get Drafts:**
9393
Retrieve all drafts.
9494
```bash
95-
python main.py get_drafts
95+
python main.py get-drafts
9696
```
9797

9898
11. **Send a Draft:**
9999
Send a draft with a specific ID and remove it from drafts.
100100
```bash
101-
python main.py send_draft --draft-id 1
101+
python main.py send-draft --draft-id 1
102102
```
103103

104104
## Additional Information

0 commit comments

Comments
 (0)