r3bl-org / shortlink

This Chrome extension provides a browser action that simply allows the user to create a shortlink for all the selected tabs in the current window. It can be activated via a keyboard shortcut Alt + L. To use it, in the omnibar, type go then press Tab, then type the phrase you have created a shortlink for earlier & it will open the tab(s).
https://chrome.google.com/webstore/detail/shorty/ffhfkgcfbjoadmhdmdcmigopbfkddial?hl=en-US&gl=US
MIT License
10 stars 13 forks source link

Clean up logic to use `types.ts` #2

Closed nazmulidris closed 12 months ago

nazmulidris commented 12 months ago

Use discriminated unions to better handle command parsing and processing. Make it more like Rust enum and match.