Skip to main content

TODOforAI CLI

A command-line interface for creating TODOs from piped input using TODOfor.ai.

Built on top of the todoforai-edge-cli Python package.

Installation

Install globally with pip:

pip install todoai-cli

Or install from source:

git clone <repository>
cd todoai-cli
pip install -e .

Setup

Get your API key from todofor.ai and set it:

export TODOFORAI_API_KEY=your_api_key_here

Usage

Basic Usage

echo "Debug authentication issue" | todoai-cli

With Options

# Specify agent and skip confirmation
echo "Send email to client" | todoai-cli --agent "gmail" -y

# Custom TODO ID
echo "Weekly report" | todoai-cli --todo-id weekly-report-2024-01

# JSON output for scripting
echo "API task" | todoai-cli --json

Configuration

Set defaults to avoid repeated prompting:

# Set default project and agent
todoai-cli --set-default-project abc123
todoai-cli --set-default-agent "todoforai gmail"

# Now you can just pipe content
echo "Quick task" | todoai-cli -y

Examples

# From file
cat task_description.txt | todoai-cli

# From clipboard (macOS)
pbpaste | todoai-cli --agent "gmail"

# From git commit
git log -1 --pretty=%B | todoai-cli --agent "code review"

# Multi-line with confirmation
cat << EOF | todoai-cli
Research the following:
1. AI safety regulations  
2. GDPR compliance
3. Model deployment best practices
EOF

Configuration File Locations

Default locations (if --config-path is not used):

  • Windows: %APPDATA%\todoai-cli\config.json
  • macOS: ~/Library/Application Support/todoai-cli/config.json
  • Linux: ~/.config/todoai-cli/config.json (XDG)

Override with:

todoai-cli --config-path /custom/path/config.json

Command Line Options

  • --project, -p: Project ID (prompts if not set)
  • --agent, -a: Agent name (partial match, prompts if not set)
  • --todo-id: Custom TODO ID (auto-generated UUID if not provided)
  • --api-url: API URL (overrides environment and config defaults)
  • --json: Output result as JSON
  • --yes, -y: Skip confirmation prompt
  • --set-default-project: Set default project ID
  • --set-default-agent: Set default agent name
  • --set-default-api-url: Set default API URL
  • --show-config: Show current configuration
  • --reset-config: Reset all configuration
  • --config-path PATH: Use specific config file path (overrides default)

Features

  • ✅ Global installation: Available as todoai-cli command
  • ✅ Cross-platform config: Proper config locations for Windows/macOS/Linux
  • ✅ Clean imports: Simple, reliable package imports
  • ✅ Flexible API URL: Environment variables, CLI args, or saved config
  • ✅ Confirmation dialog: Shows summary before creating TODO
  • ✅ Stateful config: Remembers preferences
  • ✅ Auto-generated IDs: UUIDs created automatically
  • ✅ Partial agent matching: "gmail" matches "todoforai gmail"
  • ✅ Skip confirmation: Use -y for automation
  • ✅ JSON output: For scripting integration
  • ✅ Error handling: Clear messages for common issues

Metadata

Release files for todoai-cli 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for todoai-cli 0.1.12
File Size Uploaded Provenance Actions
todoai_cli-0.1.12.tar.gz 22.3 kB Without provenance Details for todoai_cli-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for todoai-cli 0.1.12
File Interpreter ABI Platform Actions
todoai_cli-0.1.12-py3-none-any.whl Python 3 none any Details for todoai_cli-0.1.12-py3-none-any.whl

Total release size: 45.4 kB

Release files / todoai_cli-0.1.12.tar.gz

Download URL todoai_cli-0.1.12.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
95d062ffe1b80451a63b81835c2c00eeb2fa88c995314f4b4dc97c654b9e9fa6
BLAKE2b-256 checksum
How to use checksums
211f8ce0e954c55b006f2842acd81cdc65d5714f5235625b28d49d643c8260e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / todoai_cli-0.1.12-py3-none-any.whl

Download URL todoai_cli-0.1.12-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5957f15af95a3f143c332db1eb9d812448ff40dc8d2f393ffdac7d29fcc05b7b
BLAKE2b-256 checksum
How to use checksums
e7b98cd7dda99d684cb0955d72cce8ebe4fab68fdfb03be1938d82833b5ec736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for todoai-cli 0.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page