@ag-vibe/cli
v0.1.0
Published
CLI for the ag-vibe allinone platform.
Downloads
31
Readme
@ag-vibe/cli
CLI for the ag-vibe platform. Play with your memos, todos, and more right from the terminal!
Usage
- Run via
npx:
npx @ag-vibe/cli --help- Common commands:
# Auth
npx @ag-vibe/cli auth login --token <token>
# Status
npx @ag-vibe/cli status
# Memo list
npx @ag-vibe/cli memo list --limit 20
# Create memo
npx @ag-vibe/cli memo create --content '{"text":"hello"}' --plain-text "hello" --tag demo
# Todo add
npx @ag-vibe/cli todo add "buy milk"
# Raw API
npx @ag-vibe/cli api /memos -X GET -iConfiguration
Environment variables:
AGV_API_URL: Base API URL (defaulthttps://allinone.wibus.ren/api/v1, usehttp://localhost:2910/api/v1for dev)AGV_TIMEOUT_MS: Request timeout in ms (default15000)AGV_TOKEN: Auth token overrideAGV_OPENAPI_PATH: Override OpenAPI spec path for command validation (defaultspecs/v1.yaml)
Config file:
agv config set api-url <url>agv config set timeout <ms>agv config set token <token>
Completion
npx @ag-vibe/cli completion bash
npx @ag-vibe/cli completion zsh
npx @ag-vibe/cli completion fishDevelopment
- Install dependencies:
vp install- Run unit tests:
vp test- Build the library:
vp pack