cli icon indicating copy to clipboard operation
cli copied to clipboard

Feature Idea: Aliases

Open pfrazee opened this issue 4 years ago • 3 comments

It'd be really handy if we could alias hyper URLs to some registry internal to hk to reduce typing. Something like...

hk alias bob hyper://1234..af
hk drive ls bob
hk drive cat bob/index.html

pfrazee avatar Dec 05 '20 20:12 pfrazee

I'd love to work on this and use it to find my way around the codebase and contribute to hyp :)

I'll probably explore the code this weekend and get back to this issue and discuss possible implementations. If you do have any pointer or suggestion, that would be really appreciated

vic avatar Dec 24 '20 05:12 vic

@vic Appreciate the offer! We still need to talk through this idea as a team and decide whether to land it.

pfrazee avatar Dec 24 '20 14:12 pfrazee

@pfrazee I created a PR for this. Technically it should be working. The code is complete and hyp throws no exceptions. But I can't perfectly test it because of issue #52.

Octalbyte avatar Dec 01 '21 18:12 Octalbyte