sourcecred/src
William Chargin 80c3c38282
cli2: add sketch of plugin loading (#1810)
Summary:
This adds a `CliPlugin` interface and a basic implementation for the
GitHub plugin.

Paired with @decentralion.

Test Plan:
Create a new directory `/tmp/test-instance`, with:

```
// sourcecred.json
{"bundledPlugins": ["sourcecred/github"]}

// config/sourcecred/github/config.json
{"repositories": ["sourcecred/example-github"]}
```

Then, run

```
yarn backend &&
(cd /tmp/test-instance && node "$OLDPWD/bin/sc2.js" load)
```

and observe that the new instance has a cache directory containing a
GitHub database.

wchargin-branch: cli2-load
2020-05-28 18:57:27 -07:00
..
analysis Refactor TimelineCredScores data type (#1804) 2020-05-28 18:53:46 -07:00
api Initiatives: pass SOURCECRED_INITIATIVES_DIRECTORY to LoadContext (#1672) 2020-02-28 05:15:08 -07:00
assets/logo logo: improve quality of overlapping paths (#1738) 2020-04-27 10:50:03 -07:00
backend Fix: added missing await keywords in storeProject (#1731) 2020-03-30 22:28:37 +02:00
cli Add `sourcecred output` command (#1783) 2020-05-07 20:25:52 -07:00
cli2 cli2: add sketch of plugin loading (#1810) 2020-05-28 18:57:27 -07:00
core Refactor TimelineCredScores data type (#1804) 2020-05-28 18:53:46 -07:00
explorer Eslint, warn on prefer-const rule (#1719) 2020-04-03 15:44:27 +02:00
grain Add grain allocation module (#1743) 2020-05-11 19:02:08 -06:00
graphql mirror: replace transaction helper with builtin (#1771) 2020-04-26 13:13:53 -07:00
homepage prettier: reformat code for 2.0.1 2020-03-24 07:57:14 -07:00
plugins cli2: add sketch of plugin loading (#1810) 2020-05-28 18:57:27 -07:00
tools lint: require camel case variables (#1563) 2020-01-17 08:55:57 -08:00
util Make TimestampMs validation optional (#1789) 2020-05-13 11:44:23 -07:00
webutil Chore: upgrade flow-bin (#1786) 2020-05-08 15:31:29 +02:00