Skip to content
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

TLDR for DVC [https://github.com/tldr-pages/tldr] #4194

Closed
PuneethaPai opened this issue Jul 12, 2020 · 8 comments
Closed

TLDR for DVC [https://github.com/tldr-pages/tldr] #4194

PuneethaPai opened this issue Jul 12, 2020 · 8 comments
Labels
feature request Requesting a new feature p3-nice-to-have It should be done this or next sprint

Comments

@PuneethaPai
Copy link
Contributor

Can we think of creating TLDR for dvc and all it's sub commands??

TLDR cmd:
Given a command tldr gives list of it's comman usage pattern to get started quick.

For example: GIT which is closest to dvc:

~ tldr git

git

Distributed version control system.
More information: <https://git-scm.com/>.

- Check the Git version:
    git --version

- Call general help:
    git --help

- Call help on a command:
    git help command

- Execute Git command:
    git command
 ~ tldr git pull

git pull

Fetch branch from a remote repository and merge it to local repository.
More information: <https://git-scm.com/docs/git-pull>.

- Download changes from default remote repository and merge it:
    git pull

- Download changes from default remote repository and use fast forward:
    git pull --rebase

- Download changes from given remote repository and branch, then merge them into HEAD:
    git pull remote_name branch
~ tldr git add

git add

Adds changed files to the index.
More information: <https://git-scm.com/docs/git-add>.

- Add a file to the index:
    git add path/to/file

- Add all files (tracked and untracked):
    git add -A

- Only add already tracked files:
    git add -u

- Also add ignored files:
    git add -f

- Interactively stage parts of files:
    git add -p

- Interactively stage parts of a given file:
    git add -p path/to/file

- Interactively stage a file:
    git add -i
@triage-new-issues triage-new-issues bot added the triage Needs to be triaged label Jul 12, 2020
@PuneethaPai
Copy link
Contributor Author

Happy to give it a shot, if makes sense. :)

@efiop
Copy link
Contributor

efiop commented Jul 12, 2020

@PuneethaPai Looks very cool! Sure, please feel free to give it a shot! 🙏

@efiop efiop added the p3-nice-to-have It should be done this or next sprint label Jul 12, 2020
@triage-new-issues triage-new-issues bot removed the triage Needs to be triaged label Jul 12, 2020
@efiop efiop added feature request Requesting a new feature triage Needs to be triaged labels Jul 12, 2020
@triage-new-issues triage-new-issues bot removed the triage Needs to be triaged label Jul 12, 2020
@PuneethaPai
Copy link
Contributor Author

@efiop

Here is linked pull request: tldr-pages/tldr#4225
I have started work on it. Completed creating pages for 13 sub commands.
I still have like 33 more to go 😜 .

@shcheklein
Copy link
Member

@PuneethaPai it'll be very hard to keep this up to date? any chance we can generate these pages? similar as we do for autocomplete?

@PuneethaPai
Copy link
Contributor Author

How tldr works is like we have to generate cmd.md files keeping in mind first time user.
What I can think of for automation is, we can go up to generating these files and raising Pull Request.
After which we/they can quickly validate and merge it.

Let me know if there are better ways. We still need to figure out how to generate the pages.

@efiop
Copy link
Contributor

efiop commented Jan 4, 2021

Closing as stale.

@efiop efiop closed this as completed Jan 4, 2021
@efiop
Copy link
Contributor

efiop commented Jan 4, 2021

Rushed with the closing. Looks like there is a pretty clear list of next steps. Keeping open for now.

@efiop efiop reopened this Jan 4, 2021
@efiop
Copy link
Contributor

efiop commented Dec 8, 2023

Closing as stale after all.

@efiop efiop closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requesting a new feature p3-nice-to-have It should be done this or next sprint
Projects
None yet
Development

No branches or pull requests

3 participants