@dxos/x

``` ______/\/\____/\/\______ ________/\/\/\/\________ __________/\/\__________ ________/\/\/\/\________ ______/\/\____/\/\______ DXOS Engineering tools. ```

Usage no npm install needed!

<script type="module">
  import dxosX from 'https://cdn.skypack.dev/@dxos/x';
</script>

README

DXOS Shell Tools

______/\/\____/\/\______
________/\/\/\/\________
__________/\/\__________
________/\/\/\/\________
______/\/\____/\/\______ DXOS Engineering tools.

Installation

To install the dxtools binary:

npm install -g @dxos/x

To install the custom plugin for Oh My Zsh:

./scripts/setup-zsh.sh

Then add the following to your .zshrc config:

plugins=(
  dxos
  ...
)

The install script creates the x alias to invoke the dxtools command, which may source the output into the current shell (e.g., to change directory).

Usage

To list PRs for all local repos:

x repo list --pr

To change the directory to the repo that first matches protocols:

x repo cd protocols

To change the directory to the package that first matches react:

x rush cd react

Development

To build:

yarn build:watch

To run locally:

./bin/dxtools.js

To override the global binary called by the x alias:

export DXTOOLS_COMMAND=$PWD/bin/dxtools.js

For development:

npm link .
yarn && yarn build

To publish, first increment the package version and rebuild:

yarn build
npm publish
npm install -g @dxos/x