src-expose: Several items of feedback/polish
Created by: keegancsmith
This mostly changes terminology and verbosity of the output of src-expose. See individual commits.
Sample shell session now
$ src-expose
"src-expose" requires atleast 1 argument or -config to be specified.
See 'src-expose -help'.
Usage: src-expose [flags] <src1> [<src2> ...]
Periodically sync directories src1, src2, ... and serve them.
$ src-expose -help
USAGE
src-expose [flags] <src1> [<src2> ...]
Periodically sync directories src1, src2, ... and serve them.
For more advanced uses specify -config pointing to a yaml file.
See https://github.com/sourcegraph/sourcegraph/tree/master/dev/src-expose/examples
SUBCOMMANDS
serve Serve git repos for Sourcegraph to list and clone.
sync Do a one-shot sync of directories
FLAGS
-before ... A command to run before sync. It is run from the current working directory.
-config ... If set will be used instead of command line arguments to specify configuration.
-repos-dir ... src-expose's git directories. src-expose creates a git repo per directory synced. The git repo is then served to Sourcegraph. The repositories are stored and served relative to this directory. Default: ~/.sourcegraph/src-expose-repos
-verbose false
$ src-expose sync
"src-expose sync" requires atleast 1 argument or -config to be specified.
See 'src-expose sync -help'.
Usage: src-expose [flags] sync [flags] <src1> [<src2> ...]
Do a one-shot sync of directories