1.1.2 • Published 1 year ago
shimo-cli v1.1.2
Shimo CLI
A cli tool for shimo
It works both on cli and other clients(as node modules).
How to use
Before use shimo-cli
, you should get APP_CLIENT_ID
and APP_CLIENT_SECRET
first.
npm i -g shimo-cli
shimo-cli # initialize config at first running
shimo-cli login [--with-cookie]
shimo-cli me
Login
Now login shimo always trigger a captcha. Shimo-cli can't support captcha easily.
You can get shimo auth cookie (shimo_sid) from browser and login with the cookie manually. e.g:
shimo cli login shimo_sid=xxxxx --with-cookie
Known issues
- Import and export not works
Features
Auth and keep user status
Watch Notification
File List (Dashboard / Desktop / Favorites / Shortcuts etc)
Output File content(It will output an unreadable text content which works for other tools)
Search File
Create / Delete File
Import words, excels, etc
Export file from shimo to disk
initialize config
Friendly tip if no auth
Friendly output
Use as npm module