AT Protocol IPLD-CAR Repository toolkit (CLI)

updates

tree b99a94e4 83c7089f

Changed files
+10 -10
.github
workflows
+1
.github/workflows/release.yaml
··· 28 28 goos: ${{ matrix.goos }} 29 29 goarch: ${{ matrix.goarch }} 30 30 project_path: "./cmd" 31 + ldflags: "-X main._version=`git tag --sort=-version:refname | head -n 1`" 31 32 binary_name: atr 32 33 sha256sum: true 33 34 md5sum: false
+1 -1
Makefile
··· 12 12 go build ./cmd/atr.go 13 13 14 14 install: ## Install all executables 15 - go install ./cmd/atr.go 15 + go install -ldflags "-X main._version=`git tag --sort=-version:refname | head -n 1`" ./cmd/atr.go 16 16 17 17 .PHONY: fmt 18 18 fmt: ## Format all go files
+8 -9
README.md
··· 3 3 AT Protocol IPLD-CAR Repository toolkit 4 4 5 5 ## Install 6 - 7 6 ``` 8 7 go install github.com/atscan/atr 9 8 ``` 10 9 11 10 ## Examples 12 11 13 - Scans the current directory (and its subdirectories) and prints information about all found repositories: 14 12 ```bash 13 + # Scans the current directory (and its subdirectories) and prints information about all found repositories: 15 14 atr inspect 16 - ``` 17 15 18 - Return all objects from the repository: 19 - ```bash 16 + # Get all objects from the repository: 20 17 atr show my-repo.car 18 + 19 + # Repositories can also be read via pipe: 20 + curl "https://bsky.social/xrpc/com.atproto.sync.getRepo?did=did:plc:524tuhdhh3m7li5gycdn6boe" | atr show 21 21 ``` 22 22 23 - Repositories can also be read via pipe: 24 - ```bash 25 - curl 'https://bsky.social/xrpc/com.atproto.sync.getRepo?did=did:plc:524tuhdhh3m7li5gycdn6boe' | atr show 26 - ``` 23 + ## License 24 + 25 + MIT