GithubHelp home page GithubHelp logo

complymd / opencollective-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opencollective/opencollective-cli

0.0 0.0 0.0 27 KB

Command Line Interface for Open Collective

License: MIT License

JavaScript 100.00%

opencollective-cli's Introduction

⚠️ This package will not receive further update, we suggest to switch to it's replacement, opencollective-postinstall instead, or removing the postinstall altogether, see: https://blog.opencollective.com/beyond-post-install/

opencollective-cli

Command Line Interface for Open Collective.

Install

$ npm install -g opencollective

This will populate a opencollective (and its shortcut oc) as a command line.

You can also add this as a dependency in your package.json to automatically show the postinstall donate message:

$ npm install --save opencollective

Then run

$ opencollective setup

Commands

$ opencollective [collective] [info|stats]

Shows the latest stats of the collective (number of contributors, number of backers, annual budget and current balance).

$ opencollective [collective] donate [amount] [frequency]

Opens the donate page of your collective. E.g. $ opencollective webpack donate 5 monthly

$ opencollective postinstall [--plain]

Reads the details of your collective in the package.json of the current directory and invite the user to donate after installing your package. Add this command in the postinstall script of your package.json.

If you add the --plain option, it won't show any emoji and ascii art (better for old terminals).

$ opencollective setup

Interactive setup to add your collective info into your package.json and add the backers/sponsors badge and avatars in your README.md.

Coming soon

$ opencollective login

$ opencollective logout

$ opencollective cc | billing

$ opencollective cc ls
$ opencollective cc add
$ opencollective cc rm

$ opencollective apply [github_repo_url]

$ opencollective show <collective>
$ opencollective open <collective>

$ opencollective ls // list the collectives you are contributing to.

Stop your contribution to . Warning: may make someone sad somewhere on this planet.

Credits

Shamelessly inspired by the excellent now-cli

opencollective-cli's People

Contributors

xdamman avatar betree 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.