Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanemat/go-importlist
import-list -z tools.go returns url list from tools.go for go install, split by NULL.
https://github.com/sanemat/go-importlist
cli go golang tools
Last synced: 3 months ago
JSON representation
import-list -z tools.go returns url list from tools.go for go install, split by NULL.
- Host: GitHub
- URL: https://github.com/sanemat/go-importlist
- Owner: sanemat
- License: apache-2.0
- Archived: true
- Created: 2019-12-07T14:09:03.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T03:36:00.000Z (about 1 year ago)
- Last Synced: 2024-05-14T00:34:08.619Z (6 months ago)
- Topics: cli, go, golang, tools
- Language: Go
- Homepage:
- Size: 264 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license.txt
Awesome Lists containing this project
- awesome-golang-repositories - go-importlist - list -z tools.go returns url list from tools.go for go install, split by NULL. (Repositories)
README
# importlist
List imported tools.
## Overview
`import-list -z tools.go` returns url list from tools.go for go install, split by NULL.
## Limitation
Not many options.
## Usage
```
import-list -z tools.go | xargs -0 -P 4 -I {} go install {}
```## One more thing
Use [x-go-install](https://github.com/sanemat/go-xgoinstall/)
```
import-list -z tools.go | x-go-install -0
```## Motivation
`cat tools.go | grep _ | awk -F'"' '{print $$2}'` is only for unix users.
## Install
### ghg
`ghg get sanemat/go-importlist`
### go install
`go install https://github.com/sanemat/go-importlist/cmd/import-list`
## Design
[design](./design.md)
## Changelog
[chagelog](./changelog.md) by [git-chglog](https://github.com/git-chglog/git-chglog)
## License
Copyright 2019 Matt (Sanemat) (Murahashi Kenichi)
[Apache License Version 2.0](./license.txt)## Credits
[credits](./credits.txt) by [gocredits](https://github.com/Songmu/gocredits/)