Skip to main content

Command-line tooling for personal operating system workflows, tools, and automation.

Project description

lifeos-cli

lifeos-cli is the command-line package for building a personal operating system on top of PostgreSQL, async services, and incremental domain modules.

The project is currently focused on establishing a durable foundation instead of exposing every future LifeOS capability at once:

  • PostgreSQL-first persistence
  • Alembic-based schema evolution
  • async-only runtime service and data layers
  • a structured CLI grammar that can scale across domains
  • a first end-to-end notes slice

Current Focus

This branch intentionally keeps the domain surface narrow while the platform foundation settles. Today the primary delivered slice is:

  • local configuration bootstrap with lifeos init
  • database connectivity checks and migrations
  • note capture, listing, search, inspection, and batch editing
  • initial area, tag, people, vision, and task domain foundations

The event and time-tracking domains still need additional naming cleanup before they are migrated.

Install

Install from PyPI with uv tool:

uv tool install lifeos-cli

Quick Start

  1. Initialize local configuration:

    lifeos init
    
  2. Add a note:

    lifeos note add "hello"
    
  3. List notes:

    lifeos note list
    
  4. Create an area, a vision, and a task:

    lifeos area add "Health"
    lifeos vision add "Launch lifeos-cli"
    lifeos task add "Draft release checklist" --vision-id <vision-id>
    
  5. Run a batch delete operation when needed:

    lifeos task batch delete --ids <task-id-1> <task-id-2>
    

For detailed CLI usage, command grammar, multiline note input, search, and batch operations, see docs/cli.md.

The public CLI only performs soft deletion. Permanent cleanup is intentionally kept out of the user-facing command tree and must be done through internal maintenance scripts.

Development

  1. Install uv.

  2. Sync the development environment:

    uv sync --all-extras
    
  3. Run the default validation entrypoint:

    bash ./scripts/doctor.sh
    

Tooling

  • pre-commit is used for local quality gates.
  • pip-audit is used for dependency vulnerability checks.
  • GitHub Actions validates pull requests, audits dependencies, and prepares release publishing on version tags.

Project Policies

License

This project is licensed under the Apache License 2.0. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lifeos_cli-0.2.0.tar.gz (143.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lifeos_cli-0.2.0-py3-none-any.whl (71.9 kB view details)

Uploaded Python 3

File details

Details for the file lifeos_cli-0.2.0.tar.gz.

File metadata

  • Download URL: lifeos_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 143.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lifeos_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6623c99f2dfe731736f789b7eefc45a9f4cdf09f4e59876f3babf881f805a541
MD5 c6136fb9bf7e58d4c286e16279a6b78c
BLAKE2b-256 7801e0beda871ba169985e33f7b5b8d058f58a5d726a0663c3723bd63e342576

See more details on using hashes here.

Provenance

The following attestation bundles were made for lifeos_cli-0.2.0.tar.gz:

Publisher: publish.yml on liujuanjuan1984/lifeos-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lifeos_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: lifeos_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 71.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lifeos_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a107712f5c83d7aace2968077ea8d26c4ab5ede35baeb82dc6c7e8ac85061d8
MD5 a80648353084408e96bbe13291571ed2
BLAKE2b-256 dcc44f292f8e421ca1ec4963ed87102d8733de562cb48d7ae95c6e36c888a070

See more details on using hashes here.

Provenance

The following attestation bundles were made for lifeos_cli-0.2.0-py3-none-any.whl:

Publisher: publish.yml on liujuanjuan1984/lifeos-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page