Skip to content

[feature] add command line option to send and recieve one off #45

@jcdietrich

Description

@jcdietrich

I would like to be able to do something like

❯ gemini --prompt 'Why is the sky blue?'

  That's a great question! The reason the sky appears blue is due to a
  phenomenon called Rayleigh scattering. Here's how it works:

  1. Sunlight Isn't Just White: Sunlight, while appearing white to us, is
  actually made up of all the colors of the rainbow (Red, Orange, Yellow,
  Green, Blue, Indigo, Violet - ROYGBIV). Each color has a different ...

If this output was sent to stdout then I could pipe the response and do wonderful things.

This is a lot like bash -c

❯ echo $0
zsh

❯ bash -c 'echo $0'
bash

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