brainy/cli-package
dpsifr 7c827b81a5 chore(release): bump version to 0.14.0
- Updated `VERSION` in `version.ts` to `0.14.0`.
- Updated `npm` badge in `README.md` to reflect version `0.14.0`.
- Updated `version` field and dependency reference in `cli-package/package.json` to `0.14.0`.

Purpose: Prepare for release by synchronizing version across source files and documentation.
2025-07-18 12:01:54 -07:00
..
src Feat: enhance cli.ts with updated typings and improved search interface 2025-07-18 12:00:50 -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.json to reflect @soulcraft/brainy 0.12.0** 2025-07-16 13:52:54 -07:00
package.json chore(release): bump version to 0.14.0 2025-07-18 12:01:54 -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 Feat: enhance cli.ts with updated typings and improved search interface 2025-07-18 12:00:50 -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