Skip to content

Commit

Permalink
Move to DataShed GitHub
Browse files Browse the repository at this point in the history
Update to version 1.6.0
Remove unnecessary .gitignore entries
  • Loading branch information
WillJCJ committed Jul 24, 2018
1 parent 701b60f commit 210d638
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 31 deletions.
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Packages from go get
github.com

# Complied binaries
bin/

### macOS ###
# General
.DS_Store
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go
go:
- '1.10'
go_import_path: github.com/willjcj/param
go_import_path: github.com/thedatashed/param

script:
- go test -v ./...
Expand All @@ -13,10 +13,10 @@ deploy:
provider: releases
skip_cleanup: true
api_key:
secure: t6uxlo/bpCWLGJ+Scpd4i23Na9QcZ4bK+EKUI7gud3Ww0fzU3CG2pvgjgA3DBDvQTa7FWn2//0xZ066jJGzHccEzsWajEuAyjfxooIqQIuH2BwYW2p2OFQO3vmK27Jwra2Ru+oackExFGl4Z0G3YcD7/vnB5BaajcyplvtQuPr9Dk7Bu0SAgBaOEXMqNu0YHk8VxlG3qvrQwt38QVW+5Us6mYsJ8G0AbQvPN6zoiBcBo3Uj6KfYzCi08/4C0FfXV3y5RkwDQfFdbz5hhldTZqPDs9rJko6eF6uhp2uR1tnOIWo4Hkg5Mlhdm5RMzwOpClmOc6LVvHQxhywfvWI8S//AlsBLAvUXm4rOQm5IPBSlSxLx4v/gTnfJ/KBTGbXWF4rPG/EcZDd57g+fzaPlJFVaYqdR4C45K5Zm9C2H7Q8qli5X65LvFTABx7SUo6pHeV/XH4SlKeWUSNLhzMJHBG8rHO4/YxWEENP9JktX6tqf9Dth+2U3/q3mmkuRjU3H8Whx8UYJQaDAopo/WHnNlvuWo2Lpwl5UEa7Gh5qPFVOFWN1LTbCdt6ToQCrqsw02gikA3yqq4HYzW8IYta4m3YaOiuqv5GHgUXdpOteSfjM8KUPR4e2d0dsMDXwQuJowkpGPOUG5QZ86EFJOli19PpmZxwdRvxTlT4jOfA8FR5Hc=
secure: fe09o/awnojNgLd52dwjM/zOSkn/XlKF8QFumuXdr9s/6j3S14HQvWJ4wtoMIUjNokooI31TJbyG68hAEYtbwcWinbzRmODlBbTFS2rRJgiQPtymPEKUDyLwT++Dbaa5Lp9FaNPq5mYGVasS+BQX9kxJ90OxsChRobQ7QV8IuAt0k0H6KI1jsgiTWrt4t5zZhNbjHjFHnQ9grbqCOJBSp+niwCp62JFFHcmhgPQNLDu3KkXfkwuWyzmLqHrNOw1YNapthxEXWI8T1mMhiAi5jT42cKVjN/G6bcfjLNrB/zNlOBFdrOWnEu1ou6WRpj/2v/Ni8FnsWnBaINRGnR3cL3cYpjPH+/FcsHOra/xdrIadoxb3SH6Bx7CguAqW+hZ2Bw7SkqqfFkOXp+tMtcbGI00jT+iOZ0zNexvPE0GtCftMJFtbrfU2bKE9ysoOO0UoQ6uh+XV/iqOdcm4ltUQhh2zlWCfRv4DsxoRhm/9LZ4GkH3fNmwOcd2P0QN6yLvLtPc6WgPnD5wFhsiwgvmcUfzK5jvp+9Oc6bs1J/PWrmDXi7YgNtustY3+7bqqLO4tjHBLpRwPsZxpZY7YRJRUw2UHT+x9KWzGxYtq2FgZBQaU+aoNGvyZF2vSLQ/aLFgPIffqTVQ1KyGLyLvEYjLjh2pYr3f5i2LniTcexyTieRiA=
file:
- bin/param-darwin-amd64
- bin/param-linux-amd64
on:
tags: true
repo: WillJCJ/param
repo: TheDataShed/param
31 changes: 17 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# param

[![Build Status](https://travis-ci.com/WillJCJ/param.svg?branch=master)](https://travis-ci.com/WillJCJ/param)
[![Build Status](https://travis-ci.com/TheDataShed/param.svg?branch=master)](https://travis-ci.com/TheDataShed/param)

- [Introduction](#introduction)
- [Install](#install)
Expand All @@ -23,11 +23,11 @@ It also supports `bash` and `zsh` completion.
## Install

You can install `param` by downloading the latest binary from the
[Releases](https://github.com/WillJCJ/param/releases) page or by compiling
[Releases](https://github.com/TheDataShed/param/releases) page or by compiling
from source with `go`.

```console
go get github.com/willjcj/param
go get github.com/thedatashed/param
```

This should build a binary at `$GOPATH/bin/param`
Expand All @@ -37,21 +37,21 @@ already on your `PATH`.

### Curl

Run the below command to download the 1.5.0 binary and add it to
Run the below command to download the 1.6.0 binary and add it to
`/usr/local/bin`.

#### Linux

```console
curl -LO https://github.com/WillJCJ/param/releases/download/1.5.0/param-linux-amd64 && \
curl -LO https://github.com/TheDataShed/param/releases/download/1.6.0/param-linux-amd64 && \
chmod +x param-linux-amd64 && \
sudo mv param-linux-amd64 /usr/local/bin/param
```

#### MacOS

```console
curl -LO https://github.com/WillJCJ/param/releases/download/1.5.0/param-darwin-amd64 && \
curl -LO https://github.com/TheDataShed/param/releases/download/1.6.0/param-darwin-amd64 && \
chmod +x param-darwin-amd64 && \
sudo mv param-darwin-amd64 /usr/local/bin/param
```
Expand Down Expand Up @@ -81,8 +81,8 @@ password123

#### Auto-completion

With shell completion enabled, you can press tab to auto-complete the parameter
names.
With shell completion enabled, you can press tab to auto-complete the
parameter names.

### List

Expand Down Expand Up @@ -119,8 +119,8 @@ $ param set parameter_name password456 -f

#### Auto-completion

With shell completion enabled, you can press tab to auto-complete the parameter
names.
With shell completion enabled, you can press tab to auto-complete the
parameter names.

### Show

Expand All @@ -134,8 +134,8 @@ password123

#### Auto-completion

With shell completion enabled, you can press tab to auto-complete the parameter
names.
With shell completion enabled, you can press tab to auto-complete the
parameter names.

## Shell Completion

Expand Down Expand Up @@ -190,8 +190,8 @@ They are generated by Cobra by running `go run build/generate_docs.go`.

## CI

`param` uses Travis CI to test each commit. It also handles GitHub releases when
a new tag is pushed to GitHub.
`param` uses Travis CI to test each commit. It also handles GitHub releases
when a new tag is pushed to GitHub.

## TODO

Expand All @@ -202,6 +202,9 @@ a new tag is pushed to GitHub.
- Add a flag to specify parameter type.
Currently only works with `SecureString`s.
- Better logging and a verbose option to see what calls are made to AWS.
- Copy timeout.
- Configurable timeout for copying a parameter so it doesn't stay in
the clipboard indefinitely.
- Shell Completion
- `zsh` completion doesn't seem to work.
- Update or delete the bash completion cache after creating/deleting
Expand Down
2 changes: 1 addition & 1 deletion build/build_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FAILURES=""
if [ -z "${GOPATH}" ]; then
GOPATH="${HOME}/go"
fi
BIN_PATH="${GOPATH}/src/github.com/willjcj/param/bin"
BIN_PATH="${GOPATH}/src/github.com/thedatashed/param/bin"

for PLATFORM in ${PLATFORMS}; do
GOOS=${PLATFORM%/*}
Expand Down
4 changes: 2 additions & 2 deletions build/generate_docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path"

"github.com/spf13/cobra/doc"
"github.com/willjcj/param/cmd"
"github.com/thedatashed/param/cmd"
)

func main() {
Expand All @@ -18,7 +18,7 @@ func main() {
gopath = build.Default.GOPATH
}

docsPath := path.Join(gopath, "src", "github.com", "willjcj", "param", "docs")
docsPath := path.Join(gopath, "src", "github.com", "thedatashed", "param", "docs")

err := doc.GenMarkdownTree(cmd.RootCmd, docsPath)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/willjcj/param/pkg/param"
"github.com/thedatashed/param/pkg/param"
)

var verbose bool
Expand Down
2 changes: 1 addition & 1 deletion cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"

"github.com/spf13/cobra"
"github.com/willjcj/param/pkg/param"
"github.com/thedatashed/param/pkg/param"
)

var prefixes string
Expand Down
2 changes: 1 addition & 1 deletion cmd/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/willjcj/param/pkg/param"
"github.com/thedatashed/param/pkg/param"
)

var force bool
Expand Down
2 changes: 1 addition & 1 deletion cmd/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/willjcj/param/pkg/param"
"github.com/thedatashed/param/pkg/param"
)

var showCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/willjcj/param/cmd"
"github.com/thedatashed/param/cmd"
)

func main() {
Expand Down

0 comments on commit 210d638

Please sign in to comment.