opencollective

WebJar for opencollective

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

opencollective
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

opencollective
WebJar for opencollective
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/opencollective/opencollective-cli

Download opencollective

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/opencollective/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>opencollective</artifactId>
    <version>1.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/opencollective/
implementation 'org.webjars.npm:opencollective:1.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/opencollective/
implementation ("org.webjars.npm:opencollective:1.0.3")
'org.webjars.npm:opencollective:jar:1.0.3'
<dependency org="org.webjars.npm" name="opencollective" rev="1.0.3">
  <artifact name="opencollective" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='opencollective', version='1.0.3')
)
libraryDependencies += "org.webjars.npm" % "opencollective" % "1.0.3"
[org.webjars.npm/opencollective "1.0.3"]

Dependencies

compile (6)

Group / Artifact Type Version
org.webjars.npm : opn jar 4.0.2
org.webjars.npm : chalk jar 1.1.3
org.webjars.npm : babel-polyfill jar 6.23.0
org.webjars.npm : node-fetch jar 1.6.3
org.webjars.npm : minimist jar 1.2.0
org.webjars.npm : inquirer jar 3.0.6

Project Modules

There are no modules declared in this project.

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

org.webjars.npm

Open Collective

Make your community sustainable

Versions

Version
1.0.3