Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mime part pipeto support. #1481

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jan 26, 2022

  1. Add pipeto --format=mimepart option.

    The most notable use case is piping html to a browser without extra
    scripts such as those shared in pazz#789.
    ryneeverett committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    cf57830 View commit details
    Browse the repository at this point in the history
  2. Pipeto specific mime part format.

    While `pipeto --format mimepart` pipes whichever part is currently
    selected, the 'html' and 'plain' formats override the selected mime part
    (and preferences in settings).
    
    This is useful because the mime type you want displayed in alot isn't
    necessarily the one you want piped and also for setting keybindings to
    pipe specific mime types to specific applications (plain -> text editor,
    html -> web browser).
    ryneeverett committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    19b8201 View commit details
    Browse the repository at this point in the history
  3. Pipe focused mime part from the mime tree.

    When the mimetree is toggled on and a mime part is focused, pipeto
    should pipe the focused mime part rather than the currently selected
    part. This is only applicable to --format's that pipe a single part,
    which are decoded and mimepart.
    ryneeverett committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    48ca767 View commit details
    Browse the repository at this point in the history