-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cli] rename copy-files
to transfer
(Fixes #748)
#778
Conversation
c9cd6ed
to
b1cdf96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very good. Maintaining the alias and description sounds reasonable. Only a question and a couple of things missing:
- error msg in transfer.cpp:73
- bash completion
return QStringLiteral("Transfer files between the host and instances"); | ||
} | ||
|
||
QString cmd::Transfer::description() const | ||
{ | ||
// TODO: Don't mention directories until we support that | ||
// return QStringLiteral("Copy files and directories between the host and instances."); | ||
return QStringLiteral("Copy files between the host and instances."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good choice leaving this as is (clarifies what is meant by transfer).
{ | ||
return QStringLiteral("Copy files between the host and instances"); | ||
return {name(), "copy-files"}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I notice this is not reflected in the help, so the alias is hidden. Is that intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we've just left it here for muscle-memory purposes.
b1cdf96
to
f47b38c
Compare
Codecov Report
@@ Coverage Diff @@
## master #778 +/- ##
=========================================
+ Coverage 67.59% 67.6% +0.01%
=========================================
Files 176 176
Lines 6171 6173 +2
=========================================
+ Hits 4171 4173 +2
Misses 2000 2000
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #778 +/- ##
=========================================
+ Coverage 67.59% 67.6% +0.01%
=========================================
Files 176 176
Lines 6171 6173 +2
=========================================
+ Hits 4171 4173 +2
Misses 2000 2000
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* error msg in transfer.cpp:73 * bash completion
Fixed. Always the bash completion ;)
{ | ||
return QStringLiteral("Copy files between the host and instances"); | ||
return {name(), "copy-files"}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we've just left it here for muscle-memory purposes.
f47b38c
to
a0c9bb8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
778: [cli] rename `copy-files` to `transfer` (Fixes #748) r=ricab a=Saviq Co-authored-by: Michał Sawicz <[email protected]> Co-authored-by: Ricardo Abreu <[email protected]>
Build failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
778: [cli] rename `copy-files` to `transfer` (Fixes #748) r=ricab a=Saviq Co-authored-by: Michał Sawicz <[email protected]> Co-authored-by: Ricardo Abreu <[email protected]>
Build succeeded |
No description provided.