yet-another-ai-cli

1.0.1 • Public • Published

YAAC (Yet Another AI CLI)

A command-line tool that generates layout and function documentation to assist when coding with AI. YAAC creates standardized documentation files that can be used to provide context to AI tools. With its watch mode, YAAC can continuously monitor your project for changes, automatically updating documentation in real-time to keep your AI context up-to-date.

installation

npm install -g yet-another-ai-cli

Quick Start

  • yaac scan - scans your project with default settings
  • yaac set - adds settings to your config settings using flags
  • yaac remove - removes settings from your config settings using flags
  • yaac scan -w - scans your project with watch mode enabled

Config Settings

  • -l or --layout - layout settings
  • -f or --functions - function settings
  • -w or --watch - watch settings

by default yaac will scan for layout and functions with watch mode disabled.
if you want to scan with watch mode either use
yaac scan -w
or
yaac set -w then yaac scan

YAAC generates two main files:

layout.cursor

Contains a tree structure of your project:

├── .yaacrc.json
├── README.md
├── package.json
├── pnpm-lock.yaml
├── src
  ├── commands
    ├── remove.js
    ├── scan.js
    ├── set.js
  ├── core
    ├── function.js
    ├── layout.js
  ├── index.js
  ├── util
    ├── config.js

.functionscursor

Contains information about all functions in your project:

name: scanCommand
file: src/commands/scan.js
type: function
params: options

name: setCommand
file: src/commands/set.js
type: function
params: options

Notes from the author:

  • Link these files to cursor chats to keep your AI context up to date
  • Currently scanning for functions is primarily targeted towards javascript and typescript functions
  • This is an ongoing project that will gain more functionality in the future
  • please direct all feedback and feature requests to the github repo

Contributing

Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.

If you use or distribute this tool a mention would be nice but is not required.

Package Sidebar

Install

npm i yet-another-ai-cli

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

18.2 kB

Total Files

9

Last publish

Collaborators

  • the-hyphen-user