allnightai-cli
v1.0.0
Published
Command-line interface for AllNightAI - AI for AI autonomous development
Maintainers
Readme
AllNightAI CLI
AllNightAI command-line interface for managing repositories, auto mode, requirements, IDE actions, and status.
Install
From the monorepo root:
npm install
# optional: link locally for global access
npm run --workspaces --if-present build
npm link ./packages/cliThen run allnightai or ana (short version).
Note: The ana shortcut will only be installed if you don't already have another ana command on your system. If a conflict is detected, you can still use the full allnightai command.
Usage
allnightai --help # or: ana --help (if installed)
allnightai -v # or: ana -v (if installed)Note: You can use either allnightai or ana - they're the same command!
Repository
ana repo:init # initialize .allnightai in CWD and set repo
ana repo:set /path/to/repo # set active repository
ana repo:get # print current repo pathAuto Mode
ana auto:start --ide cursor --max-chats 10
ana auto:status
ana auto:config --max-chats 25 --never-stop
ana auto:stopRequirements
ana req:list
ana req:add "Build initial CLI MVP"
ana req:current
ana req:next
ana req:edit
ana req:watchIDE
ana ide:list
ana ide:open cursor # or vscode, windsurf
ana ide:send "Summarize failures" -i cursorStatus
ana status
ana progress
ana logs -n 100Interactive
ana interactiveConfiguration
- Stored at
~/.config/allnightai/config.jsonby default - Override for testing with env var
ALLNIGHTAI_CONFIG_PATH=/tmp/your-test-config.json
Development
# format and lint
npm run -w @allnightai/cli format
npm run -w @allnightai/cli lint
# tests
npm run -w @allnightai/cli test