Module Utils

Setup utilities for MoneyWise CLI

val file_exists : string -> bool

Check if file exists and is a regular file

val directory_exists : string -> bool

Check if directory exists and is a directory

val make_executable : string -> bool

Make file executable (chmod 755)

val execute_command_in_dir : string -> string -> int

Execute shell command in directory

val format_path : string -> string

Truncate long paths to 50 chars with "..." prefix

val copy_file : string -> string -> (unit, string) Stdlib.result

Copy file from source to destination