Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Briq command-line interface

License

NotificationsYou must be signed in to change notification settings

nlm/briq-cli

Repository files navigation

TO START

> git clone https://github.com/nlm/briq-cli.git> cd briq-cli> make> ./briq-cli -h

CONFIG

  • copy theconfig.example.yaml and name itconfig.yaml
  • find your token by inspecting request in briq website (in theAuthorization header)
  • copy your token and paste it in theconfig.yaml
  • create as muchgroups as you want by adding the usernames of the people you want to send briq to

COMMANDS

  • give,g

    Give one or more briqs to someone

    > briq-cli give [flags]
    FlagsTypeDefault valueExplanation
    --amountuint1How Many briqs to give to the user
    --messagestring"Have a Briq! #Rock-solid"Message to send, must include one #Value
    --tostringUsername to give to
  • group-give,gg

    Give one or more briqs to agroup

    > briq-cli group-give [flags]
    FlagsTypeDefault valueExplanation
    --amountuint1How Many briqs to give to each user
    --messagestring"🎁 #Community"Message to send, must include one #Value
    --to-groupstringLimit to a specific group of users
  • help

    Help provides help for any command in the application.

    > briq-cli help [path to command]
  • list-users,lu

    List info about existing users on briq

    > ./briq-cli lu+---------------------------+--------------------------+------+---------+---------+| USERNAME                  | DISPLAY NAME             |   XP | BALANCE | TO GIVE |+---------------------------+--------------------------+------+---------+---------+| jdupont                   | Jean Dupont              |  42  |     123 |      12 |...
  • me,m

    Get information about me

    > ./briq-cli me+-----------------+--------------------------------------+| KEY             | VALUE                                |+-----------------+--------------------------------------+| Id              | xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx || Username        | jdupont                              || Full Name       | Jean Dupont                          || Display Name    | Jean                                 || Briqs to give   | 12                                   || Collected Briqs | 123                                  |+-----------------+--------------------------------------+
  • random-love,rl

    Send a briq to a number of random users

    > briq-cli random-love [flags]
    FlagsTypeDefault valueExplanation
    --amountuint1How Many briqs to give to each user
    --messagestring"Everybody needs some Briqs #Community"Message to send, must include one #Value
    --to-groupstringLimit to a specific group of users
    --user-countuint3Number of users to send briqs to

NOTES:

  • You can only send a maximum of 4 briq to the same user per day
  • You can use-h,--help for each command to get help

About

Briq command-line interface

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp