]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
vendor: add in external packages for use with CLI
authorJoe Richey joerichey@google.com <joerichey@google.com>
Wed, 24 May 2017 02:12:26 +0000 (19:12 -0700)
committerJoe Richey joerichey@google.com <joerichey@google.com>
Wed, 31 May 2017 20:54:10 +0000 (13:54 -0700)
commit5730f061642c1b3065eabd55f8748a3cd43f65b4
treecd4ebe5019c7eefcd77672d6b73dd2554b7473e1
parent9c6a5203c72c811c4354a7cdc8d3f705953db095
vendor: add in external packages for use with CLI

crypto/ssh/terminal gets us information about the terminal, such as
its dimensions and state. It also allows us to manipulate the terminal.
For example, we can put the terminal in raw mode when a passphrase needs
to be entered.

This commit also add the github.com/urfave/cli package which we will use
to write the command line tool component of fscrypt. This tool allows
for us to easily use commands and subcommands.

Note that this is actually the upstream repository with two PRs applied:

https://github.com/urfave/cli/pull/629
https://github.com/urfave/cli/pull/630

They fix bugs in the handling of custom usage errors.

Change-Id: I2d3ba967b1bce8f73440e3a06df4eaba7ab96c19
25 files changed:
vendor/github.com/urfave/cli/CHANGELOG.md [new file with mode: 0644]
vendor/github.com/urfave/cli/LICENSE [new file with mode: 0644]
vendor/github.com/urfave/cli/README.md [new file with mode: 0644]
vendor/github.com/urfave/cli/app.go [new file with mode: 0644]
vendor/github.com/urfave/cli/appveyor.yml [new file with mode: 0644]
vendor/github.com/urfave/cli/category.go [new file with mode: 0644]
vendor/github.com/urfave/cli/cli.go [new file with mode: 0644]
vendor/github.com/urfave/cli/command.go [new file with mode: 0644]
vendor/github.com/urfave/cli/context.go [new file with mode: 0644]
vendor/github.com/urfave/cli/errors.go [new file with mode: 0644]
vendor/github.com/urfave/cli/flag-types.json [new file with mode: 0644]
vendor/github.com/urfave/cli/flag.go [new file with mode: 0644]
vendor/github.com/urfave/cli/flag_generated.go [new file with mode: 0644]
vendor/github.com/urfave/cli/funcs.go [new file with mode: 0644]
vendor/github.com/urfave/cli/generate-flag-types [new file with mode: 0755]
vendor/github.com/urfave/cli/help.go [new file with mode: 0644]
vendor/github.com/urfave/cli/runtests [new file with mode: 0755]
vendor/golang.org/x/crypto/ssh/terminal/terminal.go [new file with mode: 0644]
vendor/golang.org/x/crypto/ssh/terminal/util.go [new file with mode: 0644]
vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go [new file with mode: 0644]
vendor/golang.org/x/crypto/ssh/terminal/util_linux.go [new file with mode: 0644]
vendor/golang.org/x/crypto/ssh/terminal/util_plan9.go [new file with mode: 0644]
vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go [new file with mode: 0644]
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go [new file with mode: 0644]
vendor/vendor.json