class DUPLICITY_BACKUP_APP
A command line interface to the class REPEATED_DUPLICITY_BACKUP
note
description: "A command line interface to the class ${REPEATED_DUPLICITY_BACKUP}"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2024-01-20 19:18:27 GMT (Saturday 20th January 2024)"
revision: "22"
class
DUPLICITY_BACKUP_APP
inherit
EL_COMMAND_LINE_APPLICATION [REPEATED_DUPLICITY_BACKUP]
redefine
Visible_types
end
create
make
feature {NONE} -- Implementation
argument_specs: ARRAY [EL_COMMAND_ARGUMENT]
do
Result := <<
required_argument ("in", "Input file path or wildcard `<dir-name>/*.pyx'", << at_least_one_file_must_exist >>)
>>
end
default_make: PROCEDURE [like command]
do
Result := agent {like command}.make (create {FILE_PATH})
end
visible_types: TUPLE [
DUPLICITY_TARGET_INFO_OS_CMD,
EL_CAPTURED_OS_COMMAND,
EL_FILE_RSYNC_COMMAND,
EL_FTP_MIRROR_BACKUP,
EL_FTP_MIRROR_COMMAND,
EL_OS_COMMAND,
EL_SSH_RSYNC_COMMAND
]
do
create Result
end
end