https://github.com/berquerant/gomodbrowse-sh
https://github.com/berquerant/gomodbrowse-sh
bash
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/berquerant/gomodbrowse-sh
- Owner: berquerant
- Created: 2023-11-28T14:32:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T14:42:16.000Z (over 1 year ago)
- Last Synced: 2025-03-31T11:31:15.256Z (over 1 year ago)
- Topics: bash
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gomodbrowse-sh
```
❯ gomodbrowse.sh -h
NAME
gomodbrowse.sh - Open the repository file downloaded with go mod in browser
SYNOPSIS
gomodbrowse.sh [target]
gomodbrowse.sh PATH opens the PATH of the repo.
gomodbrowse.sh FILE:LINUM opens the line LINUM of the FILE of the repo.
gomodbrowse.sh opens the directory of the repo.
ENVIRONMENT VARIABLES
GMBROWSE_OPEN
command to open file in browser
GMBROWSE_CURL
curl command
GMBROWSE_TRY_URL_FAIL
make url check fail for debug
```