A CLI for managing the lifecycle of directory content across multiple locations.
Project description
content-hub
content-hub is a CLI tool that syncs directory content between one origin and one or more workspaces, driven by a config file.
Quick Start
Requires Python 3.14+.
pip install content-hub
Initialize a config:
contentctl init
This creates content-hub.yaml:
origin: origin
workspaces:
docs: ./docs
Run sync flows:
contentctl deploy docs # deploy origin → workspace
contentctl deploy docs --delete # deploy + remove workspace files missing in origin
contentctl adopt docs # adopt workspace → origin
contentctl deploy docs --dry-run # show planned operations without changes
Behavior:
--pathis relative to the origin/workspace roots (default.).--deleteremoves workspace files missing in origin, filtered byinclude/excludeglobs.
Config Notes
originsets the primary content directory.workspacesmaps aliases to workspace paths.${VAR}environment variable expansion is supported in config values.
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 content_hub-0.2.1.tar.gz.
File metadata
- Download URL: content_hub-0.2.1.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da58fe0c047f17084f8d25a4dce2dbadf1e7ad65c2687623d643d6b19afe25f0
|
|
| MD5 |
bf252ef7d64b5a9e23434edfa92abc17
|
|
| BLAKE2b-256 |
b976c95d1e0da8a78bd583f077eef7100197326dcfae61d367ccba5906e8aef3
|
Provenance
The following attestation bundles were made for content_hub-0.2.1.tar.gz:
Publisher:
on-release-tag.yml on iplaylf2/content-hub
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
content_hub-0.2.1.tar.gz -
Subject digest:
da58fe0c047f17084f8d25a4dce2dbadf1e7ad65c2687623d643d6b19afe25f0 - Sigstore transparency entry: 947266019
- Sigstore integration time:
-
Permalink:
iplaylf2/content-hub@6ffa13db1dedd74294f08a7650f41dcd1616a3aa -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/iplaylf2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
on-release-tag.yml@6ffa13db1dedd74294f08a7650f41dcd1616a3aa -
Trigger Event:
push
-
Statement type:
File details
Details for the file content_hub-0.2.1-py3-none-any.whl.
File metadata
- Download URL: content_hub-0.2.1-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85b2d24962f36d630cc150e2302d4a227ce495c97aa1598f66122893729a0657
|
|
| MD5 |
93e332d3de186b0e8caf7107ed5cfd67
|
|
| BLAKE2b-256 |
04c64bbdaff76f08d00d5e739047ecd32a7e8769cdc155c55697381b5713382a
|
Provenance
The following attestation bundles were made for content_hub-0.2.1-py3-none-any.whl:
Publisher:
on-release-tag.yml on iplaylf2/content-hub
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
content_hub-0.2.1-py3-none-any.whl -
Subject digest:
85b2d24962f36d630cc150e2302d4a227ce495c97aa1598f66122893729a0657 - Sigstore transparency entry: 947266035
- Sigstore integration time:
-
Permalink:
iplaylf2/content-hub@6ffa13db1dedd74294f08a7650f41dcd1616a3aa -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/iplaylf2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
on-release-tag.yml@6ffa13db1dedd74294f08a7650f41dcd1616a3aa -
Trigger Event:
push
-
Statement type: