No description
  • Go 97.4%
  • Dockerfile 2.6%
Find a file
sylvain 7c8ee5d093
All checks were successful
/ test (push) Successful in 9s
snapshot / linters (push) Successful in 56s
snapshot / goreleaser-snapshot (push) Successful in 1m9s
release / goreleaser-release (push) Successful in 1m24s
fix: update release workflow to use secrets for CI_TOKEN in Docker login
2026-06-12 09:29:15 +02:00
.forgejo/workflows fix: update release workflow to use secrets for CI_TOKEN in Docker login 2026-06-12 09:29:15 +02:00
.vscode Add initial VSCode configuration files for project setup 2025-04-12 16:04:57 +02:00
cmd Implement AES encryption and decryption CLI with test suite 2025-04-12 16:04:38 +02:00
internal/aes Implement AES encryption and decryption CLI with test suite 2025-04-12 16:04:38 +02:00
resources/etc feat: docker image 2026-06-12 08:33:26 +02:00
tests Implement AES encryption and decryption CLI with test suite 2025-04-12 16:04:38 +02:00
.gitignore Add .gitignore file to exclude log files and build artifacts 2025-04-12 16:05:10 +02:00
.golangci.yaml Add golangci-lint configuration file for linting setup 2025-04-12 16:05:15 +02:00
.goreleaser.yml chore: update Docker image templates to use git.sylvlab.fr instead of sgaunet 2026-06-12 08:38:18 +02:00
CLAUDE.md chore: replace devbox with mise for toolchain management 2026-06-02 05:27:41 +02:00
Dockerfile chore: update Dockerfile to use template-cli instead of s3xplorer 2026-06-12 08:36:04 +02:00
go.mod Implement AES encryption and decryption CLI with test suite 2025-04-12 16:04:38 +02:00
go.sum Implement AES encryption and decryption CLI with test suite 2025-04-12 16:04:38 +02:00
LICENSE Add MIT License file 2025-04-13 21:53:03 +02:00
main.go Implement AES encryption and decryption CLI with test suite 2025-04-12 16:04:38 +02:00
mise.toml feat: docker image 2026-06-12 08:33:26 +02:00
README.md chore: replace devbox with mise for toolchain management 2026-06-02 05:27:41 +02:00
Taskfile.yml Add Taskfile configurations for task automation and development setup 2025-04-12 16:05:46 +02:00
Taskfile_dev.yml Add Taskfile configurations for task automation and development setup 2025-04-12 16:05:46 +02:00

template-cli

template-cli is a template project to build a cli with Go.

Clone it with:

# install gonew
go install golang.org/x/tools/cmd/gonew@latest
# use gonew to create your project based on this template
gonew git.sylvlab.fr/sylvain/test gitplatform.com/username/awesome_new_project
cd awesome_new_project
git init
git add .
git remote add origin git@gitplatform.com:username/awesome_new_project
git push -u origin master

Getting started

Usage is quite simple :

$ ./template-cli -h
...

Install

From binary

Download the binary in the release section.

From Docker image

Docker registry is:

Deployment with docker-example

!TODO

Deployment iwth kubernetes manifests

!TODO

Deployment with helm

!TODO

Development

This project is using :

There are hooks executed in the precommit stage. Once the project cloned on your disk, please install pre-commit:

brew install pre-commit

Install tools:

task dev:install-prereq

And install the hooks:

task dev:install-pre-commit

If you like to launch manually the pre-commmit hook:

task dev:pre-commit

Tests

Tests are done with venom.

cd tests
venom run