`homeboy logs` command reference

Generated from the clap command tree. This page is the complete synopsis, argument, flag, and subcommand surface for this command family.

Concepts, recipes, and contracts are hand-written in docs/commands/logs.md.

Global flags apply to every command and are documented once in the root command reference.

homeboy logs

sh
homeboy logs <COMMAND>

Remote log viewing

SubcommandSummary
homeboy logs listList pinned log files
homeboy logs showShow log file content (shows all pinned logs if path omitted)
homeboy logs clearClear log file contents
homeboy logs searchSearch log file for pattern

homeboy logs list

sh
homeboy logs list <PROJECT_ID>

List pinned log files

ArgumentRequiredDescription
<PROJECT_ID>yesProject ID

homeboy logs show

sh
homeboy logs show [OPTIONS] <PROJECT_ID> [PATH]

Show log file content (shows all pinned logs if path omitted)

ArgumentRequiredDescription
<PROJECT_ID>yesProject ID
[PATH]noLog file path (optional – shows all pinned logs if omitted)
OptionValueDescription
-n, --lines<LINES>Number of lines to show
-f, --followflagFollow log output (like tail -f)
--localflagExecute locally instead of via SSH (for when running on the target server)

homeboy logs clear

sh
homeboy logs clear [OPTIONS] <PROJECT_ID> <PATH>

Clear log file contents

ArgumentRequiredDescription
<PROJECT_ID>yesProject ID
<PATH>yesLog file path
OptionValueDescription
--localflagExecute locally instead of via SSH
sh
homeboy logs search [OPTIONS] <PROJECT_ID> <PATH> <PATTERN>

Search log file for pattern

ArgumentRequiredDescription
<PROJECT_ID>yesProject ID
<PATH>yesLog file path
<PATTERN>yesSearch pattern
OptionValueDescription
-i, --ignore-caseflagCase insensitive search
-n, --lines<LINES>Limit to last N lines before searching
-C, --context<CONTEXT>Lines of context around matches
--localflagExecute locally instead of via SSH