The copy command currently only takes a source and destination path, and has its limitations.
It would be useful to add in some more options, and to have them enabled/disabled via flags on the command.
Output when copying multiple files from the CLI is always "verbose" - if the copy command is being used via mos_oscli it may be useful to be able to negate this behaviour. This would be a "silent" flag.
Copying directories is not supported, or copying directories that match a source pattern. We may wish to consider adding support for a "recursive" copy flag.
As noted in #55 the copy command prevent files from being overwritten. Ideally instead we should ask permission to overwrite files. A "force" flag could allow overwrites to automatically be confirmed. If the "silent" flag is set, and "force" is not set, then the command should probably just pass by those files.
The copy command currently always has visibility of all files, including hidden and system files. We may wish to change this behaviour, and add flags to allow hidden/system files to be seen and copied.
When copying files, currently attributes are not preserved. It may be useful to change this behaviour, with flags to control whether attributes will be copied or not.
The copy command currently only takes a source and destination path, and has its limitations.
It would be useful to add in some more options, and to have them enabled/disabled via flags on the command.
Output when copying multiple files from the CLI is always "verbose" - if the copy command is being used via
mos_oscliit may be useful to be able to negate this behaviour. This would be a "silent" flag.Copying directories is not supported, or copying directories that match a source pattern. We may wish to consider adding support for a "recursive" copy flag.
As noted in #55 the copy command prevent files from being overwritten. Ideally instead we should ask permission to overwrite files. A "force" flag could allow overwrites to automatically be confirmed. If the "silent" flag is set, and "force" is not set, then the command should probably just pass by those files.
The copy command currently always has visibility of all files, including hidden and system files. We may wish to change this behaviour, and add flags to allow hidden/system files to be seen and copied.
When copying files, currently attributes are not preserved. It may be useful to change this behaviour, with flags to control whether attributes will be copied or not.