workon

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

README

workon GoDoc

workon is a simple tool designed to make it easy to start to work on a Go project.

workon will:

  1. Start a new terminal with the specified path set to its working directory.
  2. Open all the .go files in the specified path, including nested packages, in a new editor. The new editor will have its working directory set to the specified path.

Usage

workon -editor your.project.path

The editor used will be determined from, in order:

  1. the -editor flag
  2. the VISUAL environment variable
  3. the EDITOR environment variable

Limitations

Currently workon only support urxvt as terminal, since it needs to know the option to use for setting the terminal current working path.

Documentation

Overview

Command workon starts the preferred terminal with its current working directory set to the specified Go project and opens all the Go files in the preferred editor.

Jump to

Keyboard shortcuts

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