mngr-file
Read, write, and list files on agents and hosts.
A plugin for mngr that adds the mngr file command with get, put, and list subcommands.
Usage
# Read a file from an agent (prints to stdout)
mngr file get my-agent config.toml
# Read a file and save locally
mngr file get my-agent config.toml --output local-config.toml
# Write a file to an agent from a local file
mngr file put my-agent config.toml --input local-config.toml
# Write stdin to a file on an agent
echo "hello" | mngr file put my-agent greeting.txt
# List files in an agent's work directory
mngr file list my-agent
# List files recursively
mngr file list my-agent -R
# List files in a specific subdirectory
mngr file list my-agent src/
# Use absolute paths (bypasses --relative-to)
mngr file get my-agent /etc/hostname
Target
TARGET can be either an agent name/ID or a host name/ID. If the identifier matches both an agent and a host, an error is raised asking you to use the full ID for disambiguation.
Path resolution
Paths can be absolute or relative. Relative paths are resolved against a base directory that depends on the target type:
Agent targets use --relative-to to select the base directory:
work(default): the agent's working directorystate: the agent's state directory ($MNGR_AGENT_STATE_DIR)host: the host directory ($MNGR_HOST_DIR)
Host targets always resolve relative paths against the host directory ($MNGR_HOST_DIR).
Options
Output format
All subcommands support standard mngr output options (--output-format, --format).
Field selection (list only)
--fields name,size,modified-- select which columns to display- Available fields:
name,path,file_type,size,modified,permissions
File options (put only)
--mode 0644-- set file permissions on the remote file
Metadata
Release files for imbue-mngr-file 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imbue_mngr_file-0.1.14.tar.gz | 22.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| imbue_mngr_file-0.1.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.3 kB
Release files / imbue_mngr_file-0.1.14.tar.gz
| Download URL | imbue_mngr_file-0.1.14.tar.gz |
|---|---|
| Size | 22.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeb085b0877296c78cca517527fceabe10cc7a80c49df5c2f275f93820557764
|
|
BLAKE2b-256 checksum How to use checksums |
ac6051d70b83b0706f2e2f2e991d1edbfbd0dcda36f25f95887b6958434e43b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 18, 2026.
Transparency logRelease files / imbue_mngr_file-0.1.14-py3-none-any.whl
| Download URL | imbue_mngr_file-0.1.14-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b3ef6bfdb0aadaa2c5f48686362e98809638efa0f91c4729324d466597062f6
|
|
BLAKE2b-256 checksum How to use checksums |
44272746ec0b92cc83ded3a9c99da08bb86ad739fa2257cf1b12a30e74001ecf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 18, 2026.
Transparency log