Giter VIP home page Giter VIP logo

redgit's Introduction

redgit

Git like interface for Reddit.

oclif Version Downloads/week License

Usage

$ npm install -g redgit
$ redgit init
$ redgit log --ordering=new --limit 5 wallstreetbets

Commands

redgit config [KEY] [VALUE]

manage RedGit configuration

USAGE
  $ redgit config [KEY] [VALUE]

ARGUMENTS
  KEY    name of the variable to get/set
  VALUE  new value of the variable

OPTIONS
  -e, --edit               opens the configuration file in text editor
  -l, --list               list all
  --get=get                get value: name
  --get-regexp=get-regexp  get values for regexp: name-regex
  --unset=unset            remove a variable: name

See code: src/commands/config.ts

redgit downvote ID

downvotes an submission

USAGE
  $ redgit downvote ID

ARGUMENTS
  ID  id of the submission to downvote

See code: src/commands/downvote.ts

redgit help [COMMAND]

display help for redgit

USAGE
  $ redgit help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

redgit init

initializes RedGit with Reddit authentication tokens

USAGE
  $ redgit init

See code: src/commands/init.ts

redgit log [SUBREDDIT]

list submissions

USAGE
  $ redgit log [SUBREDDIT]

ARGUMENTS
  SUBREDDIT  subreddit to list submissions from

OPTIONS
  -l, --limit=limit                                limit the number of listed submissions
  -o, --ordering=controversial|hot|new|rising|top  [default: hot] ordering of submissions
  -t, --time=all|hour|day|month|week|year

See code: src/commands/log.ts

redgit open ID

opens URL of an submission in browser

USAGE
  $ redgit open ID

ARGUMENTS
  ID  id of the submission to open

See code: src/commands/open.ts

redgit reply ID

replies to an submission

USAGE
  $ redgit reply ID

ARGUMENTS
  ID  id of the submission to reply to

OPTIONS
  -m, --message=message  message to send as an reply

See code: src/commands/reply.ts

redgit show ID

display single submission

USAGE
  $ redgit show ID

ARGUMENTS
  ID  id of the submission to display

See code: src/commands/show.ts

redgit subscription [COMMAND] [SUBREDDIT]

manage subreddit subscriptions

USAGE
  $ redgit subscription [COMMAND] [SUBREDDIT]

ARGUMENTS
  COMMAND    (add|rm)
  SUBREDDIT  name of subreddit (without /r/ prefix)

See code: src/commands/subscription.ts

redgit upvote ID

upvotes an submission

USAGE
  $ redgit upvote ID

ARGUMENTS
  ID  id of the submission to upvote

See code: src/commands/upvote.ts

redgit's People

Contributors

raulil avatar

Stargazers

Andrew Johnson avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.