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

Feature request: preview remote files #6

Open
egoist opened this issue Nov 2, 2018 · 4 comments
Open

Feature request: preview remote files #6

egoist opened this issue Nov 2, 2018 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@egoist
Copy link
Contributor

egoist commented Nov 2, 2018

Not sure if this is useful tho 😅

koy https://example.com/foo.md
@egoist
Copy link
Contributor Author

egoist commented Nov 2, 2018

Similarly, allow to preview README.md in a GitHub repo like this: koy github:egoist/poi 🤔

@djyde
Copy link
Owner

djyde commented Nov 2, 2018

I prefer:

koy egoist/poi # Github by default

koy gitlab:foo/bar

@egoist
Copy link
Contributor Author

egoist commented Nov 2, 2018

Consider this: koy egoist/poi.md a github repo, koy egoist/poi.md also a local file 😂

hmm it might work since you can check if the file exists first, and then make request to the repo

why not a flag tho, like koy egoist/poi --github and koy egoist/poi --gitlab

@djyde
Copy link
Owner

djyde commented Nov 2, 2018

Oh, I like the flag proposal.

koy gh:egoist/poi is good too.

djyde added a commit that referenced this issue Nov 2, 2018
@djyde djyde added enhancement New feature or request help wanted Extra attention is needed labels Nov 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants