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
notesslice
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, andtaskdomain 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
-
Initialize local configuration:
lifeos init -
Add a note:
lifeos note add "hello"
-
List notes:
lifeos note list
-
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>
-
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
-
Install
uv. -
Sync the development environment:
uv sync --all-extras
-
Run the default validation entrypoint:
bash ./scripts/doctor.sh
Tooling
pre-commitis used for local quality gates.pip-auditis used for dependency vulnerability checks.- GitHub Actions validates pull requests, audits dependencies, and prepares release publishing on version tags.
Project Policies
- Contribution workflow: CONTRIBUTING.md
- Security disclosure: SECURITY.md
- Community expectations: CODE_OF_CONDUCT.md
License
This project is licensed under the Apache License 2.0. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6623c99f2dfe731736f789b7eefc45a9f4cdf09f4e59876f3babf881f805a541
|
|
| MD5 |
c6136fb9bf7e58d4c286e16279a6b78c
|
|
| BLAKE2b-256 |
7801e0beda871ba169985e33f7b5b8d058f58a5d726a0663c3723bd63e342576
|
Provenance
The following attestation bundles were made for lifeos_cli-0.2.0.tar.gz:
Publisher:
publish.yml on liujuanjuan1984/lifeos-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lifeos_cli-0.2.0.tar.gz -
Subject digest:
6623c99f2dfe731736f789b7eefc45a9f4cdf09f4e59876f3babf881f805a541 - Sigstore transparency entry: 1262458838
- Sigstore integration time:
-
Permalink:
liujuanjuan1984/lifeos-cli@e2dae4cc764acf26c7159a8e8536889abf9f4f8f -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/liujuanjuan1984
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e2dae4cc764acf26c7159a8e8536889abf9f4f8f -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a107712f5c83d7aace2968077ea8d26c4ab5ede35baeb82dc6c7e8ac85061d8
|
|
| MD5 |
a80648353084408e96bbe13291571ed2
|
|
| BLAKE2b-256 |
dcc44f292f8e421ca1ec4963ed87102d8733de562cb48d7ae95c6e36c888a070
|
Provenance
The following attestation bundles were made for lifeos_cli-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on liujuanjuan1984/lifeos-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lifeos_cli-0.2.0-py3-none-any.whl -
Subject digest:
3a107712f5c83d7aace2968077ea8d26c4ab5ede35baeb82dc6c7e8ac85061d8 - Sigstore transparency entry: 1262458850
- Sigstore integration time:
-
Permalink:
liujuanjuan1984/lifeos-cli@e2dae4cc764acf26c7159a8e8536889abf9f4f8f -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/liujuanjuan1984
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e2dae4cc764acf26c7159a8e8536889abf9f4f8f -
Trigger Event:
push
-
Statement type: