Skip to content

Commit

Permalink
update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Jan 7, 2019
1 parent ac88301 commit 7e414b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
6 changes: 2 additions & 4 deletions cmd/sncli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package main
import (
"encoding/json"
"errors"
"github.com/jonhadfield/sn-cli"
"gopkg.in/urfave/cli.v1"
"io/ioutil"
"os"
"os/user"
Expand All @@ -17,8 +15,10 @@ import (
"fmt"

"github.com/jonhadfield/gosn"
"github.com/jonhadfield/sn-cli"
"github.com/spf13/viper"
"golang.org/x/crypto/ssh/terminal"
"gopkg.in/urfave/cli.v1"
"gopkg.in/yaml.v2"
)

Expand Down Expand Up @@ -198,7 +198,6 @@ func startCLI(args []string) (msg string, display bool, err error) {
Name: "replace",
Usage: "replace note with same title",
},

},
Action: func(c *cli.Context) error {
if !c.GlobalBool("no-stdout") {
Expand Down Expand Up @@ -282,7 +281,6 @@ func startCLI(args []string) (msg string, display bool, err error) {
Name: "uuid",
Usage: "unique id of note to delete (separate multiple with commas)",
},

},
Action: func(c *cli.Context) error {
if !c.GlobalBool("no-stdout") {
Expand Down
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ module github.com/jonhadfield/sn-cli
require (
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/jonhadfield/gosn v0.0.0-20190106211117-36c657940e55
github.com/kr/pty v1.1.3 // indirect
github.com/spf13/afero v1.2.0 // indirect
github.com/spf13/viper v1.3.1
github.com/stretchr/objx v0.1.1 // indirect
github.com/stretchr/testify v1.3.0
github.com/ugorji/go/codec v0.0.0-20181209151446-772ced7fd4c2 // indirect
golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc
golang.org/x/sys v0.0.0-20190106192425-1775db3f06b5 // indirect
golang.org/x/sys v0.0.0-20190107173414-20be8e55dc7b // indirect
gopkg.in/urfave/cli.v1 v1.20.0
gopkg.in/yaml.v2 v2.2.2
)
19 changes: 2 additions & 17 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,12 @@ github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/jonhadfield/gosn v0.0.0-20181222175438-9269dcd7a8bb h1:bnJJGqFqhvFfNJNhMyhCOrwPxMt/WoEv+H9C5ISP7rQ=
github.com/jonhadfield/gosn v0.0.0-20181222175438-9269dcd7a8bb/go.mod h1:trCS+i2vvc5g3NoofAfaTyhOs2YQ6uVpC9Y7kS+FxlU=
github.com/jonhadfield/gosn v0.0.0-20190101130050-36dadec322c8 h1:BSXx2yZnguC02Q9+XMB47pgxnkFZz5ksCpaBpSxjaJE=
github.com/jonhadfield/gosn v0.0.0-20190101130050-36dadec322c8/go.mod h1:trCS+i2vvc5g3NoofAfaTyhOs2YQ6uVpC9Y7kS+FxlU=
github.com/jonhadfield/gosn v0.0.0-20190101170827-7ae9f744a08b h1:4yqjupZpWLt+hql8nUu0DbuAGYkss7FtD68XuDTL9Fg=
github.com/jonhadfield/gosn v0.0.0-20190101170827-7ae9f744a08b/go.mod h1:trCS+i2vvc5g3NoofAfaTyhOs2YQ6uVpC9Y7kS+FxlU=
github.com/jonhadfield/gosn v0.0.0-20190101183740-2a9a41ba2bd2 h1:tIgRjALM94SPZjU9RVSRjk1SgzeBYodXN9iVVs1eX1k=
github.com/jonhadfield/gosn v0.0.0-20190101183740-2a9a41ba2bd2/go.mod h1:trCS+i2vvc5g3NoofAfaTyhOs2YQ6uVpC9Y7kS+FxlU=
github.com/jonhadfield/gosn v0.0.0-20190106211117-36c657940e55 h1:3PFB7UJTG8ex/+2ngrb3R/WuQdYLQakbsGlS8WGMbKU=
github.com/jonhadfield/gosn v0.0.0-20190106211117-36c657940e55/go.mod h1:trCS+i2vvc5g3NoofAfaTyhOs2YQ6uVpC9Y7kS+FxlU=
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pty v1.1.1 h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
Expand Down Expand Up @@ -55,25 +46,19 @@ github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn
github.com/spf13/viper v1.3.1 h1:5+8j8FTpnFV4nEImW/ofkzEt8VoOiLXxdYIDsB73T38=
github.com/spf13/viper v1.3.1/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
github.com/ugorji/go/codec v0.0.0-20181209151446-772ced7fd4c2/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 h1:mKdxBk7AujPs8kU4m80U72y/zjbZ3UcXC7dClwKbUI0=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc h1:F5tKCVGp+MUAHhKp5MZtGqAlGX3+oCsiL1Q629FL90M=
golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181221143128-b4a75ba826a6 h1:IcgEB62HYgAhX0Nd/QrVgZlxlcyxbGQHElLUhW2X4Fo=
golang.org/x/sys v0.0.0-20181221143128-b4a75ba826a6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181228144115-9a3f9b0469bb h1:pf3XwC90UUdNPYWZdFjhGBE7DUFuK3Ct1zWmZ65QN30=
golang.org/x/sys v0.0.0-20181228144115-9a3f9b0469bb/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190106192425-1775db3f06b5 h1:BGkdwGQPg1W5uFcqoOqldRRh2vDuQ2OjzhAOMav4wM0=
golang.org/x/sys v0.0.0-20190106192425-1775db3f06b5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190107173414-20be8e55dc7b h1:9Gu1sMPgKHo+qCbPa2jN5A54ro2gY99BWF7nHOBNVME=
golang.org/x/sys v0.0.0-20190107173414-20be8e55dc7b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down

0 comments on commit 7e414b3

Please sign in to comment.