Skip to content

[Feature Request] Allow --save-script to accept an optional output path #61

@Popalay

Description

@Popalay

Problem

Currently, session scripts are always saved to ~/.agent-device/sessions/<session>-<timestamp>.ad with no option to specify a custom output path. This requires users to manually copy files after recording if they want to store workflows in a specific location (e.g., a repository).

From the README:

Session recordings are always saved to ~/.agent-device/sessions/. There's no flag to specify a custom output path, so copy the file after recording.

Proposed Solution

Allow --save-script to accept an optional path argument:

# Proposed: with optional path argument
agent-device open com.example.app --platform android --session e2e --save-script ./workflows/my-flow.ad

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions