pkgs/cli: Improve tense of message in machines create
Change the log message tense from present to continuous for improved clarity. The message "Add file" has been changed to "Adding file" to provide a clear indication that the file addition is an ongoing process, not a command (for the user).
This commit is contained in:
@@ -118,7 +118,7 @@ def create_machine(opts: CreateOptions) -> None:
|
||||
|
||||
def log_copy(src: str, dst: str) -> None:
|
||||
relative_dst = dst.replace(f"{clan_dir}/", "")
|
||||
log.info(f"Add file: {relative_dst}")
|
||||
log.info(f"Adding file: {relative_dst}")
|
||||
shutil.copy2(src, dst)
|
||||
|
||||
shutil.copytree(src, dst, ignore_dangling_symlinks=True, copy_function=log_copy)
|
||||
|
||||
Reference in New Issue
Block a user