modscope

command
v0.0.0-...-e71f8c3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 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/test-infra/tools/modscope@latest

or use the go run command:

$ go run knative.dev/test-infra/tools/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