mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-05-11 02:28:22 +00:00
update archiveing
This commit is contained in:
parent
35a1313dbd
commit
42b0dc41e8
4 changed files with 30 additions and 18 deletions
8
.github/workflows/.release.yml
vendored
8
.github/workflows/.release.yml
vendored
|
@ -24,9 +24,11 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Generate Man and Completions
|
name: Generate Man and Completions
|
||||||
run: |
|
run: |
|
||||||
go run main.go completion bash > bash-completion
|
mkdir completion
|
||||||
go run main.go completion zsh > zsh-completion
|
go run main.go completion bash > completion/bash
|
||||||
go run main.go completion fish > fish-completion
|
go run main.go completion zsh > completion/zsh
|
||||||
|
go run main.go completion fish > completion/fish
|
||||||
|
go run main.go completion powershell > completion/powershell
|
||||||
mkdir man
|
mkdir man
|
||||||
go run main.go gendoc --type man
|
go run main.go gendoc --type man
|
||||||
pwd
|
pwd
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,6 +6,7 @@
|
||||||
!*/
|
!*/
|
||||||
|
|
||||||
man/
|
man/
|
||||||
|
completion/
|
||||||
|
|
||||||
# Binaries for programs and plugins
|
# Binaries for programs and plugins
|
||||||
*.exe
|
*.exe
|
||||||
|
|
|
@ -3,6 +3,8 @@ checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
builds:
|
builds:
|
||||||
- env: [CGO_ENABLED=0]
|
- env: [CGO_ENABLED=0]
|
||||||
|
- flags:
|
||||||
|
- -trimpath
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
|
@ -12,12 +14,19 @@ builds:
|
||||||
- arm64
|
- arm64
|
||||||
binary: passbolt
|
binary: passbolt
|
||||||
archives:
|
archives:
|
||||||
- replacements:
|
replacements:
|
||||||
darwin: Darwin
|
darwin: Darwin
|
||||||
linux: Linux
|
linux: Linux
|
||||||
windows: Windows
|
windows: Windows
|
||||||
386: i386
|
386: i386
|
||||||
amd64: x86_64
|
amd64: x86_64
|
||||||
|
files:
|
||||||
|
- completion/*
|
||||||
|
- man/*
|
||||||
|
- id: windows
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
format: zip
|
||||||
release:
|
release:
|
||||||
draft: true
|
draft: true
|
||||||
header: |
|
header: |
|
||||||
|
@ -28,11 +37,11 @@ nfpms:
|
||||||
homepage: https://github.com/speatzle/go-passbolt-cli
|
homepage: https://github.com/speatzle/go-passbolt-cli
|
||||||
license: MIT
|
license: MIT
|
||||||
contents:
|
contents:
|
||||||
- src: /home/runner/work/go-passbolt-cli/go-passbolt-cli/bash-completion
|
- src: /home/runner/work/go-passbolt-cli/go-passbolt-cli/completion/bash
|
||||||
dst: /usr/share/bash-completion/completions/passbolt
|
dst: /usr/share/bash-completion/completions/passbolt
|
||||||
- src: /home/runner/work/go-passbolt-cli/go-passbolt-cli/zsh-completion
|
- src: /home/runner/work/go-passbolt-cli/go-passbolt-cli/completion/zsh
|
||||||
dst: /usr/share/zsh/site-functions/_passbolt
|
dst: /usr/share/zsh/site-functions/_passbolt
|
||||||
- src: /home/runner/work/go-passbolt-cli/go-passbolt-cli/fish-completion
|
- src: /home/runner/work/go-passbolt-cli/go-passbolt-cli/completion/fish
|
||||||
dst: /usr/share/fish/vendor_completions.d/passbolt.fish
|
dst: /usr/share/fish/vendor_completions.d/passbolt.fish
|
||||||
- src: /home/runner/work/go-passbolt-cli/go-passbolt-cli/man/*
|
- src: /home/runner/work/go-passbolt-cli/go-passbolt-cli/man/*
|
||||||
dst: /usr/share/man/man1/
|
dst: /usr/share/man/man1/
|
||||||
|
|
12
README.md
12
README.md
|
@ -6,16 +6,16 @@ If you want to do something more complicated [this](https://github.com/speatzle/
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
## Via Package:
|
## Via Package:
|
||||||
Download your Package from the Latest Release.
|
Download the Package for your OS and architecture from the Latest Release.
|
||||||
install via your Distros Package manager like `dpkg -i`
|
Install via your Distros Package manager like `dpkg -i`
|
||||||
|
|
||||||
## Via Archive:
|
## Via Archive:
|
||||||
Download your Archive
|
Download and Extract the Archive for your OS and architecture
|
||||||
Note: tab completion and manpages will be missing.
|
Note: tab completion and manpages will need to be installed manually.
|
||||||
|
|
||||||
## Via Go:
|
## Via Go:
|
||||||
go install github.com/speatzle/go-passbolt-cli
|
go install github.com/speatzle/go-passbolt-cli
|
||||||
Note: this will install the binary as go-passbolt-cli also tab completion and manpages will be missing.
|
Note: this will install the binary as go-passbolt-cli, also tab completion and manpages will be missing.
|
||||||
# Getting Started
|
# Getting Started
|
||||||
First you need to Setup basic information: the Server Address, your Private Key and your Password.
|
First you need to Setup basic information: the Server Address, your Private Key and your Password.
|
||||||
You have these options:
|
You have these options:
|
||||||
|
|
Loading…
Add table
Reference in a new issue