cli: rename existing system from `cli` to `oclif` (#739)

Summary:
Per #580, we aim to remove OClif. To do so, we move the old system to a
directory `oclif`, and will create the new system in the now-vacant
`cli` directory.

Test Plan:
Note that `yarn backend` still builds, that `node bin/sourcecred.js`
still has `help` and `load`, and that `git grep -wc cli` yields only
`yarn.lock:9`.

wchargin-branch: rename-cli-to-oclif
This commit is contained in:
William Chargin 2018-09-02 15:44:30 -07:00 committed by GitHub
parent 931f07de13
commit 1f4a6395c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 3 deletions

View File

@ -27,8 +27,8 @@ module.exports = {
// source file, and the key will be the filename of the bundled entry
// point within the build directory.
backendEntryPoints: {
sourcecred: resolveApp("src/cli/sourcecred.js"),
"commands/load": resolveApp("src/cli/commands/load.js"),
sourcecred: resolveApp("src/oclif/sourcecred.js"),
"commands/load": resolveApp("src/oclif/commands/load.js"),
//
fetchAndPrintGithubRepo: resolveApp(
"src/plugins/github/bin/fetchAndPrintGithubRepo.js"

View File

@ -1,7 +1,7 @@
// @flow
// The repoRegistry is written by the CLI load command
// (src/cli/commands/load.js) and is read by the RepositorySelect component
// (src/oclif/commands/load.js) and is read by the RepositorySelect component
// (src/app/credExplorer/RepositorySelect.js)
import deepEqual from "lodash.isequal";
import {toCompat, fromCompat, type Compatible} from "../../util/compat";