Open devhindo opened 5 months ago
Suggesting the following UX, once auth is complete in both accounts:
+ -l lists logged in accounts
+ -d "username" set's an account as default
$ x -l
⦿ elon 69420 followers
o yoyo 228 followers
⦿ - default account
o - available account (-a [username])
+ x "text" post a tweet with the default account
+ x -a "username" "text" post a tweet with the specified account
- -t "text" post a tweet
Also consider:
- auth start authorizing your X account
+ -i (--log-in) log-in to your X account
- auth --url get auth url if it didn't open browser after running 'x auth'
+ --url get auth url if it didn't open browser after running 'x -i'
- auth -v verify authorization after running 'x auth'
+ -s (status) ... check sessions tatus and perhaps more info ...
- -c clear authorized account
+ -o log-out to your X account
x auth -a elon -- continue authentication x auth -a yoyo -- continue authentication x switch -a elon >> post from elon x switch -a yoyo >> post from yoyo