Skip to content

cli: add: add an --output argument #2101

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

Closed
wants to merge 1 commit into from

Conversation

mrstegeman
Copy link
Contributor

@mrstegeman mrstegeman commented Jan 18, 2021

Allow users to add files from outside of the repo. This is a first
step toward achieving iterative/dvc#4657.

References iterative/dvc#5284

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.

🐛 Please make sure to mention Fix #issue (if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.

Please choose to allow us to edit your branch when creating the PR.

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Allow users to add files from outside of the repo. This is a first
step toward achieving iterative/dvc#4657.
mrstegeman added a commit to mrstegeman/dvc that referenced this pull request Jan 18, 2021
Allow users to add files from outside of the repo. This is a first
step toward achieving iterative#4657.

References iterative/dvc.org#2101
Comment on lines +154 to +155
- `-o`, `--output` - adds the `<target>` file from outside the repo to the repo
at the specified `<path>`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick copy edit:

Suggested change
- `-o`, `--output` - adds the `<target>` file from outside the repo to the repo
at the specified `<path>`.
- `-o <path>`, `--output <path>` - adds a single external target (file or
directory) to the specified `path`.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But TBH I don't quite understand what this option does from this text.

Copy link
Contributor

@jorgeorpinel jorgeorpinel Jan 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In any case (as mentioned in iterative/dvc#5284 (review)) the same(?) option is being introduced separately, explained differently in #2091:

  • -o <path>, --out <path> - destination path for the transferred data (can
    only be used with --to-remote).

Is it the same concept? Thanks

@jorgeorpinel jorgeorpinel added the ⌛ status: wait-core-merge Waiting for related product PR merge/release label Jan 19, 2021
@mrstegeman mrstegeman closed this Jan 19, 2021
@mrstegeman mrstegeman deleted the dvc-add-output branch January 19, 2021 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌛ status: wait-core-merge Waiting for related product PR merge/release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants