dotfiles-cli

command module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

README

README

TODO
  • scaffolding CLI command
  • diff CLI command
  • diff in link (removing stale links)
  • adding hooks dir; run executables inside hooks dir
  • add logging framework
  • add extensive INFO logging for the user
  • add CI/CD building releases für various OS and upload them to gitlab release page
  • on Install when switching context either unlink all or backup all from old context (default: backup, -f force unlink, -i ask away)
  • add text/text.go with string content to better maintain consistency in format
  • fill out README.md
  • add Hookahware LICENSE
  • write golang tests
  • add auto updates
  • add container image as base-image
  • add container image with binary as entrypoint for usage
macos build
$ export VERSION=0.0.1
$ namespace="gitlab.com/pidrakin/dotfiles-cli"
$ buildTime=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
$ env CC=gcc CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags="-X '${namespace}/cmd.version=${VERSION}' -X '${namespace}/cmd.buildTime=${buildTime}'" -a -o dotfiles

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL