modscope

command
v0.0.0-...-703489d Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

Modscope

A tool to display Go module information like current module name, path, and with support to list the Go workspace modules.

Usage

List workspace modules
$ modscope ls
knative.dev/hack
knative.dev/hack/schema
knative.dev/hack/test/e2e
List workspace module paths
$ modscope ls -p
/home/example/git/knative-hack
/home/example/git/knative-hack/schema
/home/example/git/knative-hack/test/e2e
Current module
$ pwd
/home/example/git/knative-hack/schema/vendor
$ modscope curr
knative.dev/hack/schema

Installation

$ go install knative.dev/toolbox/modscope@latest

or use the go run command:

$ go run knative.dev/toolbox/modscope@latest --help

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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