7ffb5c44b5f8df61f86fab056f91012e7f9647d3
XO-CLI & XO-TUI
Installation
Full Installation
# Create a new directory since we are going to be pulling in engine too
mkdir xo-terminal && cd xo-terminal
# ----- Start Engine Setup -----
# Clone the Engine Repo (Note, this uses harvey's fork of the engine repo to access the cli-test branch)
git clone git@gitlab.com:Harvmaster/engine.git
# Move into teh engine directory
cd engine
# Checkout the cli-test branch
git checkout cli-test
# Install the dependencies
npm ci
# Build the engine
npm run build
# ----- End Engine Setup -----
# Move back to the top level directory
cd ..
# ----- Start State Setup -----
# Clone the State Repo
git clone git@gitlab.com:Harvmaster/state.git
# Move into the state directory
cd state
git checkout in-memory-adapter
# Install the dependencies
npm ci
# Build the state
npm run build
# ----- End State Setup -----
# Move back to the top level directory
cd ..
# ----- Start CLI Setup -----
# Clone the CLI Repo
git clone git@git.harvmaster.com:Harvmaster/xo-cli.git
# Move into the cli directory
cd xo-cli
# Install the dependencies
npm ci
# Build the cli
npm run build
# ----- End CLI Setup -----
Run TUI in dev mode
npm run dev
Install globally
# (From the xo-cli directory)
npm install -g .
Install autocomplete completions (From the xo-cli directory)
Install for bash
npm run autocomplete:install:bash
Install for zsh
npm run autocomplete:install:zsh
Install for fish
npm run autocomplete:install:fish
Run the CLI
# If globally installed (Not really usable if not globally installed)
xo-cli
Run the TUI
# If globally installed
xo-tui
# If not globally installed
npm run dev
Description
Languages
TypeScript
94.9%
JavaScript
2.7%
Shell
2.4%