brainy/cli-package
David Snelling e3567ed838 **chore(release): bump version to 0.12.0**
- Updated the version in `README.md`, `package.json`, and `version.ts` to `0.12.0` to reflect the new release.
- Adjusted dependency reference for `@soulcraft/brainy` in `cli-package/package.json` to use version `0.12.0`.

**Purpose**: Prepares for the 0.12.0 release, ensuring all version references are consistent across documentation and configuration files.
2025-07-16 13:51:56 -07:00
..
src **refactor(cli): remove obsolete command and streamline TextEncoder/TextDecoder usage** 2025-07-15 11:52:54 -07:00
brainy-wrapper.js **refactor(cli): remove obsolete command and streamline TextEncoder/TextDecoder usage** 2025-07-15 11:52:54 -07:00
cli-wrapper.js **refactor(tests): consolidate and replace outdated environment test scripts** 2025-07-14 11:12:51 -07:00
package-lock.json chore(deps): update package-lock dependency versions to 0.11.0 2025-07-11 12:17:15 -07:00
package.json **chore(release): bump version to 0.12.0** 2025-07-16 13:51:56 -07:00
README.md **feat(tests): add tests for TextEncoder, TensorFlow.js, and fallback mechanisms** 2025-07-11 11:11:56 -07:00
rollup.config.js **feat(patch): enhance TextEncoder/TextDecoder compatibility for TensorFlow.js** 2025-07-11 12:15:11 -07:00
tsconfig.json **chore(version): bump version to 0.9.18 and update build configurations** 2025-07-02 12:15:35 -07:00
types.d.ts **chore(version): bump version to 0.9.18 and update build configurations** 2025-07-02 12:15:35 -07:00

@soulcraft/brainy-cli

Command-line interface for the Brainy vector graph database.

Installation

# Install globally
npm install -g @soulcraft/brainy-cli

Usage

Once installed, you can use the brainy command from anywhere:

# Show help
brainy --help

# Initialize a new database
brainy init

# Add data
brainy add "Cats are independent pets" '{"noun":"Thing","category":"animal"}'

# Search
brainy search "feline pets" --limit 5

# Add relationships
brainy addVerb id1 id2 RelatedTo '{"description":"Both are pets"}'

# Visualize the graph
brainy visualize
brainy visualize --root <id> --depth 3

# Generate random test data
brainy generate-random-graph --noun-count 20 --verb-count 30 --clear

Features

  • Full access to all Brainy database functionality from the command line
  • Autocomplete support for commands and options
  • Visualization of graph data
  • Import/export capabilities
  • Augmentation pipeline testing

Requirements

  • Node.js >= 24.4.0

License

MIT