@dxos/x v1.4.38
DXOS Shell Tools
______/\/\____/\/\______
________/\/\/\/\________
__________/\/\__________
________/\/\/\/\________
______/\/\____/\/\______ DXOS Engineering tools.
Installation
First install the Github CLI:
brew install gh
To install the dxtools
binary:
npm install -g @dxos/x
To install the custom plugin for Oh My Zsh,
which sets the x
alias, run:
dxtools install
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
To list Github jobs for the current repo:
x workflow list
Development
To build:
yarn build:watch
To run locally:
./bin/dxtools.js
To override the global binary called by the x
alias:
eval $(./scripts/debug.sh)
Alternatively, change the npm link directly (and unlink
afterwards).
npm link .
yarn && yarn build
Run the following command to get debug information.
x debug
Publishing
yarn release
To upgrade (remember to unset DXTOOLS_COMMAND
):
yarn global upgrade @dxos/x@latest
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago