From f51a13385b68d30c8f64fdb9ad265de6b90399d5 Mon Sep 17 00:00:00 2001 From: d1vious Date: Thu, 21 Jun 2018 14:42:12 -0400 Subject: [PATCH] moved default config file location --- Documentation/INSTALLATION.md | 1 + waflyctl.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/INSTALLATION.md b/Documentation/INSTALLATION.md index b1544b1..b1c3c58 100644 --- a/Documentation/INSTALLATION.md +++ b/Documentation/INSTALLATION.md @@ -8,3 +8,4 @@ - `export HOMEBREW_GITHUB_API_TOKEN=`, may want to put this on your bash profile - `brew install fastly/tap/waflyctl` +- grab a copy of the [config](https://github.com/fastly/waflyctl/blob/master/config_examples/waflyctl.fastly_soc_example.toml) file and place it under `~/.waflyctl.toml` where the tool defaults to. diff --git a/waflyctl.go b/waflyctl.go index 0c0bf90..bc1788e 100644 --- a/waflyctl.go +++ b/waflyctl.go @@ -1195,7 +1195,7 @@ func main() { apiEndpoint := flag.String("apiendpoint", "https://api.fastly.com", "Fastly API endpoint to use.") //emergency := flag.Bool("emergency", false, "is this an emergency provisioning..see [wiki link]") //ssl := flag.Bool("ssl", false, "turn on ssl for this domain..see [wiki link]") - configFile := flag.String("config", "waflyctl.toml", "Location of configuration file for waflyctl.") + configFile := flag.String("config", "~/.waflyctl.toml", "Location of configuration file for waflyctl.") //var blocklist string //flag.StringVar(&blocklist, "blocklist", "gcp,aws,azure,aws,TOR", "Which blocklist should we provisioned on block mode in a comma delimited fashion. Available choices are: [for look here]")