repository-warden
v3.2.0
Published
Print out warden information in your repository
Readme
Warden
Warden is a tool for managing repository ownership.
Ownership of a specific area is signified by creating a .warden file in the folder, any subfolders are also owned by that warden, unless another .warden file exists.
Warden compares your current working branch against default to generate a list of changes, then identify the person from the relevant
warden file for a change path.
Installation
Warden requires Node.js v4+ to run.
Then:
$ npx repository-wardenUsage
Repository-warden takes a few commands,
$ warden -V, --versionWill print the version number.
$ warden -h, --helpWill print a simple 'help' message with a summary of commands.
$ warden dir <file path>Will print warden file information for the given directory within the project. If no path is given, defaults to current working directory.
$ wardenWithout commands, will print warden file information for every change on your branch against default.
Development
Clone this repo from GitHub, navigate to the root directory of repository-warden:
$ cd path/to/repository-warden/And create a link token with:
$ yarn linkProvide this link token to your project repository with:
$ yarn link repository-wardenThis will override your global installation with the locally served code.
Now, back to the repository-warden path:
$ yarn watchWill start serving the local version of the program.
Calls to warden from your linked project repository will respond from this local version.
