Skip to content

Commit 2d303ed

Browse files
committed
update readme for chat and commands
1 parent 3e3ebff commit 2d303ed

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ instagram-cli --help # view available commands
7979
# Authentication
8080
instagram-cli auth login --username # login with username and password
8181
instagram-cli auth logout # logout and removes session
82+
instagram-cli auth switch <username> # switch to another saved account
83+
instagram-cli auth whoami # display current default user
8284

8385
# Core features
8486
instagram-cli chat # start chat interface
@@ -91,16 +93,26 @@ instagram-cli config <key> <value> # set config key to value
9193
instagram-cli config edit # open config file in editor
9294
```
9395

96+
> [!TIP]
97+
> You can easily manage multiple accounts with Instagram CLI!
98+
> Your login for each account will be saved **locally** and you can switch between them or run a certain command with a specific account using the `--username` flag.
99+
94100
## Chat Commands
95101

96102
Inside the chat interface and after selecting a thread, you can navigate all interface with 100% keyboard support. When messaging, the following commands are available:
97103

98104
```bash
99-
:help
100-
:select # select first before unsend or react
105+
# Select messages to perform actions
106+
:select
101107
:react <emoji>
108+
:reply <text>
102109
:unsend
110+
111+
# Media Handling
103112
:upload <path-to-image-or-video>
113+
# Download command coming soon...
114+
115+
# Navigation
104116
:k # go up
105117
:K # go to top
106118
:j # go down
@@ -109,7 +121,7 @@ Inside the chat interface and after selecting a thread, you can navigate all int
109121

110122
> [!TIP]
111123
> You can quickly include text files or images in a message by using `#` followed by the file path. For example, `#path/to/file.txt` or `#path/to/image.png`.
112-
> Use `tab` and `enter` to autocomplete file paths.
124+
> Use `tab` and `enter` to autocomplete file paths. You can include emojis in messages with `:emoji_name:` e.g. `:thumbsup:` = 👍 (with fuzzy matching).
113125
114126
### Configuration
115127

0 commit comments

Comments
 (0)