Submodule ykoath
This commit is contained in:
parent
79688199cb
commit
e212cee7c6
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "ykoath"]
|
||||
path = ykoath
|
||||
url = https://github.com/vividboarder/ykoath
|
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
VERSION ?= $(shell git describe --tags --dirty)
|
||||
NAME := yk
|
||||
GOFILES = *.go
|
||||
GOFILES = *.go go.mod go.sum
|
||||
# Multi-arch targets are generated from this
|
||||
TARGET_ALIAS = $(NAME)-linux-amd64 $(NAME)-linux-arm $(NAME)-linux-arm64 $(NAME)-darwin-amd64
|
||||
TARGETS = $(addprefix dist/,$(TARGET_ALIAS))
|
||||
|
2
go.mod
2
go.mod
@ -2,7 +2,7 @@ module git.iamthefij.com/iamthefij/yk-cli
|
||||
|
||||
go 1.15
|
||||
|
||||
replace github.com/yawn/ykoath => ../ykoath
|
||||
replace github.com/yawn/ykoath => ./ykoath
|
||||
|
||||
require (
|
||||
git.iamthefij.com/iamthefij/slog v1.2.0
|
||||
|
@ -3,7 +3,7 @@ complete -c yk -f
|
||||
# Add completion for setting password
|
||||
complete -c yk -a set-password -d "Set authentication password"
|
||||
# Add completion of credentials
|
||||
complete -c yk -a "(yk list)" -d "Credential to get totp for"
|
||||
complete -c yk -a "(yk list)" -d "Credential to get TOTP for"
|
||||
|
||||
function yk-copy --description "Select a credential using fzf and copy it to clipboard"
|
||||
yk (yk list | fzf) | pbcopy
|
||||
|
1
ykoath
Submodule
1
ykoath
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit b083034539df4a37cb676af7afd7abd3d9f3ec4f
|
Loading…
Reference in New Issue
Block a user