Skip to content

tt CLI (2.10): improve tt cat tt play working with directories #5450

@xuniq

Description

@xuniq

Product: tt CLI
Since: tt 2.10.0
Dev ticket: tarantool/tt@c63a628 https://jira.vk.team/browse/TNTP-2367
Root document: https://www.tarantool.io/en/doc/latest/tooling/tt_cli/cat/ https://www.tarantool.io/en/doc/latest/tooling/tt_cli/play/

SME: @ oleg-jukovec @ dmyger

Details

This commit improves the functionality of the cat and play commands
in the Tarantool CLI. It allows these commands to work recursively with
directories containing multiple files, enhancing their usability and
flexibility.

Usage Example:

tt cat -r /path/to/directory1 /path/to/directory2
tt play --recursive app:instance001 /path/to/directory1

Closes #TNTP-2367

Also fixed (see changelog): tt cat|play <DIR> with directories handles only .snap or .xlog files

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions