Skip to content

--starting-prompt flag to start the session with a prompt without exiting #887

Description

@stebbins

What feature would you like to see?

  • Add a new flag: --starting-prompt / -s
  • This allows you to pass a starting prompt when starting a new Kimi Code CLI session
  • This is very similar to the existing -p / -c flags!
  • However, there is an important difference: with -s, Kimi Code CLI does not exit the session after processing the prompt
  • Functionally, this gives equivalent behavior as Claude Code when passing a prompt via CLI arg
  • This unlocks the capability of higher-level processes to more easily "orchestrate" Kimi Code CLI sessions without building away from the design philosophy of the project (from my understanding, at least)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions