robinovitch61 / wander

A terminal app/TUI for HashiCorp Nomad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to run with an empty nomad auth token

foozmeat opened this issue · comments

Describe the bug
The readme states that -t "" should work to send an empty auth token but I receive an error

To Reproduce

$ wander -a $NOMAD_ADDR -t ""
error: set WANDER_TOKEN env variable, wander_token in config file, or --token argument

$ wander               
Using config file: /Users/james/.wander.yaml
error: set WANDER_TOKEN env variable, wander_token in config file, or --token argument

Expected behavior
The -t should be optional or work with an empty string

Desktop (please complete the following information):

  • OS: macos
  • Version: 0.3.0

Good catch! Thanks :)

This should be fixed in v0.3.1 which is releasing now