Skip to content

0.14.1: Add authorization command

Compare
Choose a tag to compare
@DoumanAsh DoumanAsh released this 15 Jun 08:53

Changes

  • New sub-command auth with option of twitter authorization
  • Allows to specify builtin twitter consumer token using environment variables: FIE_TWITTER_CONSUMER_KEY and FIE_TWITTER_CONSUMER_SECRET

Usage

Small and cute social media utility.

USAGE:
    fie.exe [FLAGS] <SUBCOMMAND>

FLAGS:
    -g, --gab         Use gab.ai. By default all social medias are used unless flag is specified.
    -h, --help        Prints help information
    -m, --mastodon    Use mastodon. By default all social medias are used unless flag is specified.
        --minds       Use minds. By default all social medias are used unless flag is specified.
    -t, --twitter     Use twitter. By default all social medias are used unless flag is specified.
    -V, --version     Prints version information

SUBCOMMANDS:
    auth     Allows to perform authorization with social media.
    batch    Load CLI arguments from file and runs it.
    env      Prints information about app environment.
    help     Prints this message or the help of the given subcommand(s)
    post     Creates new post.

post

Uses to post content on social platforms.
Using -t you can specify hashtags which will be appended as last line of content.

Creates new post.

USAGE:
    fie.exe post [FLAGS] [OPTIONS] <message>

FLAGS:
    -h, --help    Prints help information
    -n, --nsfw    Whether post is NSFW or not.

OPTIONS:
    -i, --image <images>...    Adds image to post. Normally up to 4.
    -t, --tag <tags>...        Adds hashtag at the last line of post.

ARGS:
    <message>    Message content

batch

Load CLI arguments from file and runs it.

USAGE:
    fie.exe batch <file>

FLAGS:
    -h, --help    Prints help information

ARGS:
    <file>    TOML file that describes CLI arguments.

File examples:

env

Prints information about app's environment.

USAGE:
    fie.exe env <SUBCOMMAND>

FLAGS:
    -h, --help    Prints help information

SUBCOMMANDS:
    config    Prints path to config file.
    help      Prints this message or the help of the given subcommand(s)

auth

Allows to perform user authorization using social media API.
Currently available authorizations:

  • Twitter PIN based auth. Interactive dialogue will prompt you to follow link and authorize fie.
USAGE:
    fie.exe auth <SUBCOMMAND>

FLAGS:
    -h, --help    Prints help information

SUBCOMMANDS:
    help       Prints this message or the help of the given subcommand(s)
    twitter    Performs authorization with twitter