cmd ref: review `root` ref to be aligned with other commands
See original GitHub issueSee https://dvc.org/doc/commands-reference/root.
i.
-
The layout of this command reference is outdated.
-
It should be the same as for the cache for example.
ii.
-
Description should include a better motivation for this command - mostly ease of generating stage files no matter where you run the
dvc run. -
Examples should be actionable and meaningful. It’s should be easy to run commands to see the results.
iii.
- ~~A new example about shell scripts to generate dvc.yaml files is needed to complete this update. See https://github.com/iterative/dvc.org/pull/1637#discussion_r463117077~~ Now part of #2076
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Cisco IOS Configuration Fundamentals Command Reference
Entering the show command with no arguments displays the pending configurations. Examples. This example shows how to display the edited configuration: Router( ...
Read more >Command Reference · volatilityfoundation/volatility Wiki - GitHub
An advanced memory forensics framework. Contribute to volatilityfoundation/volatility development by creating an account on GitHub.
Read more >Octave Quick Reference Octave Version 3.0.0
Evaluate a function handle or string, passing remaining args to func. Anonymous function handles take a copy of the variables in the current...
Read more >Top 50+ Linux Commands You MUST Know - DigitalOcean
Using Linux command on a regular basis? Today we'll look at 50+ Linux commands you must know! The commands listed below are some...
Read more >MUSCLE User Guide - drive5
5 Command Line Reference ; termgapshalflonger. no. Terminal gaps penalized with half penalty if gap relative to. longer sequence, otherwise with full penalty....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @shcheklein, I would like to take up this issue. Thanks!
No problem at all. I was hoping to work on an issue that required a bit of investigation and discussion. I learned a lot, so mission accomplished!
So based on your discussion (haha) it sounds like the the current PR won’t need much more adjustment. I’ll find a newer issue to work on next. (Please let me know if any suggestions or preferences.)
I see, so you couldn’t have a dvc.yaml file with a $(dvc root) variable — but you could use $(dvc root) in the script to generate a dvc.yaml file with references to the root directory, relative to the working directory where the script is run. Right?