5 Commits

Author SHA1 Message Date
88a659fb03 ssss
Some checks failed
Release / build (, amd64, darwin) (push) Successful in 1m1s
Release / build (, amd64, linux) (push) Successful in 48s
Release / build (, arm64, darwin) (push) Successful in 53s
Release / build (, arm64, linux) (push) Successful in 51s
Release / release (push) Failing after 18s
2026-03-31 10:09:13 -03:00
b31d08c35d hhh
Some checks failed
Release / build (, amd64, darwin) (push) Successful in 49s
Release / build (, amd64, linux) (push) Successful in 51s
Release / build (, arm64, darwin) (push) Successful in 57s
Release / build (, arm64, linux) (push) Successful in 59s
Release / release (push) Failing after 33s
2026-03-31 03:36:31 -03:00
65293d0961 ddd
Some checks failed
Release / build (, amd64, darwin) (push) Successful in 49s
Release / build (, amd64, linux) (push) Successful in 55s
Release / build (, arm64, darwin) (push) Successful in 54s
Release / build (, arm64, linux) (push) Successful in 54s
Release / build (.exe, amd64, windows) (push) Failing after 45s
Release / release (push) Has been skipped
2026-03-31 03:29:59 -03:00
f9464c9def dd
Some checks failed
Release / build (, amd64, darwin) (push) Successful in 1m0s
Release / build (, amd64, linux) (push) Successful in 47s
Release / build (, arm64, darwin) (push) Successful in 51s
Release / build (, arm64, linux) (push) Successful in 59s
Release / build (.exe, amd64, windows) (push) Failing after 51s
Release / release (push) Has been skipped
2026-03-31 03:18:07 -03:00
Claudia CLI Bot
b6df678845 feat: Add main entry point and all CLI commands
Some checks failed
Release / build (, amd64, darwin) (push) Failing after 50s
Release / build (, amd64, linux) (push) Failing after 30s
Release / build (, arm64, darwin) (push) Failing after 40s
Release / build (, arm64, linux) (push) Failing after 31s
Release / build (.exe, amd64, windows) (push) Failing after 31s
Release / release (push) Has been skipped
- cmd/claudia-docs/main.go - entry point
- cobra/commands.go - CLI commands
- internal/api/ - HTTP client and API calls
- internal/auth/ - authentication
- internal/config/ - configuration
- internal/output/ - output formatting
- pkg/types/ - shared types
2026-03-31 06:12:09 +00:00
2 changed files with 31 additions and 8 deletions

View File

@@ -28,9 +28,6 @@ jobs:
- goos: linux - goos: linux
goarch: arm64 goarch: arm64
ext: '' ext: ''
- goos: windows
goarch: amd64
ext: '.exe'
- goos: darwin - goos: darwin
goarch: amd64 goarch: amd64
ext: '' ext: ''
@@ -92,7 +89,7 @@ jobs:
esac esac
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.goos }}-${{ matrix.goarch }} name: ${{ matrix.goos }}-${{ matrix.goarch }}
path: dist/* path: dist/*
@@ -121,10 +118,23 @@ jobs:
echo "tag=${VERSION}" >> $GITEA_OUTPUT echo "tag=${VERSION}" >> $GITEA_OUTPUT
- name: Download artifacts - name: Download artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
path: dist/ path: dist/
merge-multiple: true # ← sin merge-multiple, quedan en subdirectorios:
# dist/linux-amd64/claudia-docs-linux-amd64.tar.gz
# dist/windows-amd64/claudia-docs-windows-amd64.zip
# etc.
- name: Mover artefactos a dist/
run: |
# Mover todos los archivos de subdirectorios a dist/
find dist/ -mindepth 2 -type f -exec mv {} dist/ \;
# Borrar subdirectorios con rm -rf en vez de find -delete
for dir in dist/*/; do
rm -rf "$dir"
done
ls -lh dist/
- name: Generate changelog - name: Generate changelog
run: | run: |
@@ -142,7 +152,7 @@ jobs:
- name: Generate checksums - name: Generate checksums
run: | run: |
cd dist cd dist
sha256sum * > checksums.txt sha256sum *.tar.gz *.zip > checksums.txt
cat checksums.txt cat checksums.txt
- name: Generate install script - name: Generate install script

13
cmd/claudia-docs/main.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"os"
"github.com/claudia/docs-cli/cobra"
)
func main() {
if err := cobra.Execute(); err != nil {
os.Exit(1)
}
}