cafce25 / twitchctl Goto Github PK
View Code? Open in Web Editor NEWTwitch cli
Twitch cli
mr Halzy said it's easy
Config file in ~/.config/twitchctl/config.*
same formats as #15 are supported.
Multiple files will be merged, as well as Environment variables.
current format (yml):
extension: toml | ini | yaml | yml | json,
token: ***
Currently main & most of the sub commands return a result. We should rather be handling the errors, terminate the program and output readable error messages where we can't continue.
https://docs.rs/figment/0.10.5/figment/
Block user: https://dev.twitch.tv/docs/api/reference#block-user
Unblock user: https://dev.twitch.tv/docs/api/reference#unblock-user
Change tags: https://dev.twitch.tv/docs/api/reference#replace-stream-tags
Get current tags for stream: https://dev.twitch.tv/docs/api/reference#get-stream-tags
Get all tags: https://dev.twitch.tv/docs/api/reference#get-all-stream-tags
https://docs.rs/twitch_api2/0.5.0/twitch_api2/helix/points/index.html
! Only works on rewards created by the same client id
When using the official twitch-cli it will store it's token in ~/.twitch-cli/.twitch-cli.env. We should probably use that file if it exists, so you wont need to login twice.
twitch_api
Versiontwitch_oauth2
Versiontokio
featuresThis could be useful
https://github.com/hwchen/keyring-rs
syntax:
twitchctl preset -s <preset-name>
Currently not possible:
https://twitch.uservoice.com/forums/310213-developers/suggestions/39703660-live-notification
This is how did it:
https://github.com/ModProg/autod/blob/main/src/cli.rs
So I can use it with
https://github.com/ModProg/autod/blob/main/build.rs
When clap v3 is released, we can easily replace structopt, and use it for also generating a man page:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.