open-vault/website
Calvin Leung Huang 60732577f5
CLI Enhancements (#3897)
* Use Colored UI if stdout is a tty

* Add format options to operator unseal

* Add format test on operator unseal

* Add -no-color output flag, and use BasicUi if no-color flag is provided

* Move seal status formatting logic to OutputSealStatus

* Apply no-color to warnings from DeprecatedCommands as well

* Add OutputWithFormat to support arbitrary data, add format option to auth list

* Add ability to output arbitrary list data on TableFormatter

* Clear up switch logic on format

* Add format option for list-related commands

* Add format option to rest of commands that returns a client API response

* Remove initOutputYAML and initOutputJSON, and use OutputWithFormat instead

* Remove outputAsYAML and outputAsJSON, and use OutputWithFormat instead

* Remove -no-color flag, use env var exclusively to toggle colored output

* Fix compile

* Remove -no-color flag in main.go

* Add missing FlagSetOutputFormat

* Fix generate-root/decode test

* Migrate init functions to main.go

* Add no-color flag back as hidden

* Handle non-supported data types for TableFormatter.OutputList

* Pull formatting much further up to remove the need to use c.flagFormat (#3950)

* Pull formatting much further up to remove the need to use c.flagFormat

Also remove OutputWithFormat as the logic can cause issues.

* Use const for env var

* Minor updates

* Remove unnecessary check

* Fix SSH output and some tests

* Fix tests

* Make race detector not run on generate root since it kills Travis these days

* Update docs

* Update docs

* Address review feedback

* Handle --format as well as -format
2018-02-12 18:12:16 -05:00
..
data YAML is literally the worst 2017-08-17 11:42:47 -04:00
scripts Remove people from community section (#3099) 2017-08-02 17:57:19 -04:00
source CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
Gemfile Bump middleman-hashicorp version 2018-01-09 13:06:59 -05:00
Gemfile.lock Bump middleman-hashicorp version 2018-01-09 13:06:59 -05:00
LICENSE.md Update license 2017-03-08 11:38:38 -08:00
Makefile Bump middleman-hashicorp version 2018-01-09 11:54:42 -05:00
README.md Fix website command 2017-03-08 09:47:16 -08:00
config.rb Prep for 0.9.3 2018-01-28 15:33:29 -05:00
packer.json Bump middleman-hashicorp Docker image 2018-01-09 12:27:13 -05:00
redirects.txt Fixing docs links and adding redirects for new guides (#3939) 2018-02-07 19:29:07 -05:00

README.md

Vault Website

This subdirectory contains the entire source for the Vault Website. This is a Middleman project, which builds a static site from these source files.

Contributions Welcome!

If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in.

Running the Site Locally

Running the site locally is simple. Clone this repo and run make website.

Then open up http://localhost:4567. Note that some URLs you may need to append ".html" to make them work (in the navigation).