Skip to content

Document new Trops subcommands: tldr, tablog, and view #165

@kojiwell

Description

@kojiwell

Add explanations for the new subcommands, tldr, tablog, and view, recently added to Trops.

  • trops tldr -- (TLDR = Table Log Direct and/or Too Long Don't Read)
    When you pipe the output of trops log into this command, it displays the logs in a table format.
    With the -s flag, it saves the table in Markdown format under $TROPS/tablog.
  • trops tablog -- (“tablog” stands for Table + Log)
    This command is used to collect the files saved by trops tldr -s or to merge multiple tablog files into a single table.
  • trops view -- When started with the --web flag and pointed to a folder containing tablog files, it opens a web interface that displays the logs as tables.
    You can click the <hex> part in trops show <hex>:<path> to see diffs, and click <path> to view the updated file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions