goto

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2022 License: MIT Imports: 13 Imported by: 0

README

Goto

Shortcut and speedy tool to all your daily links.

goto let you create shortcuts to access webpages.

For example running goto alias wat https://www.destroyallsoftware.com/talks/wat will let you open the website just by goto wat.

And you can also use templates! goto alias jira https://jira.company.com/projects/AB/issues/{{ . }} allows you to quickly open issues goto jira/AB-123.

Installation

Usage

# map shortcuts to urls
goto alias gh https://github.com
# potentially with a template
goto alias jira https://jira.company.com/projects/AB/issues/{{ . }}
# then whatever provided after `jira/` will replace `{{ . }}` before
opening the URL

# open an aliased website
goto <alias>

# list existing aliases
goto ls

Development

Release

Releases are powered by Goreleaser.

Features
  • Export/Import (something to rebuild the DB if needed)
  • Related: create sharable configurations? Like common service integrations
  • Edit existing entries
Todo
  • Refactor this mess
  • Add more CLI options, like DB path
  • Proper repository setup and binary release
  • Support profiles (goto gh as pro or personal may not take you to the same place)
  • Enforce DB entries uniqueness
  • Make the id shown and row id the same


gopher

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL