This repository contains multiple command-line interface (CLI) applications, each designed to leverage different tools and services.
.
├── cortex-cli
├── gdnote
├── gdreview
├── install.sh
└── recat
The cortex-cli is a CLI application that interacts with the Cortex API, allowing users to execute a variety of commands.
Navigate to the cortex-cli directory and run:
$ npm installThis script executes Cortex pathways as commands through the command line. Sample usage:
$ cortex-cli <command> [options]Full documentation can be found in the cortex-cli directory's README.
The gdnote CLI compiles release notes for a git branch by sending a diff of the branch to a Cortex API endpoint.
Navigate to the gdnote directory and run:
$ npm installRun the gdnote script with the branch name to compare the current branch with as an argument:
$ gdnote <branch_name>The gdreview CLI performs a code review for a git branch by sending a diff of the branch to a Cortex API endpoint.
Navigate to the gdreview directory and run:
$ npm installRun the gdreview script with the branch name to compare the current branch with as an argument:
$ gdreview <branch_name>The recat CLI recursively prints the directory structure and select source files from the current directory down. It is typically used to generate a text block to feed to Cortex pathways that work on source code.
Navigate to the recat directory and run:
$ npm installRun the recat script with the directory name as an argument:
$ recat <directory>This project uses Node.js and npm. Ensure they are both installed. Then install the project dependencies using npm:
$ npm installThis project is licensed under the MIT License. See the LICENSE file for details.