Discover Packages
github.com/c0sm0thecoder/pocketagent
internal
argv
package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Oct 3, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package argv expands {placeholder} templates in command lines. Arguments
are never passed through a shell, so values cannot inject commands.
Expand replaces {key} in each argument with vars[key] in a single pass,
so placeholders inside substituted values (user text) stay literal.
Join returns wrap followed by command, both expanded with vars. It is how
every adapter builds its process: wrap is an optional prefix such as a
container runner.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.