-
Notifications
You must be signed in to change notification settings - Fork 394
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
ref
: Duplicated paging info to exp show
#3310
Conversation
|
||
> Note that this also applies to `dvc dag`. |
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 think we don't need this link or the link from dag
to here since we're duplicating the content.
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.
removed
|
||
If you'd like to print to stdout always without paging, you can set this | ||
variable to `cat`: | ||
|
||
```dvc | ||
$ export DVC_PAGER=cat | ||
``` |
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.
Let's not further expand on Linux methods? There are others but this doc should be about DVC IMO.
Also, this isn't in https://dvc.org/doc/command-reference/dag#providing-a-custom-pager.
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.
Whole environment variable thing is about Linux. The method provides a way to skip the --no-pager
option everytime. So I think it's a useful tip.
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.
Hey sorry for the delay...
We can improve the env var blocks later to include Windows Cmd (Windows also supports the same env vars I think).
This is a cmd ref, we want it to be more focused/shorter/self contained I think. Again, this note is a Linux admin tip.
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.
removed
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.
Thanks
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.
We can improve the env var blocks later to include Windows Cmd
I'm making it clearer that these are Linux examples instead for now. See #3356
It was referencing
dvc dag
for paging info. Now it's self contained and added an example to usecat
as a pager.Closes #3217