1. 10 Aug, 2021 1 commit
  2. 20 Jun, 2021 1 commit
  3. 25 Feb, 2019 2 commits
  4. 19 Feb, 2019 2 commits
    • Steven Allen's avatar
      debug: remove error assertions · affc2061
      Steven Allen authored
      We inserted these while transitioning to the new API but we've never hit one.
      affc2061
    • Steven Allen's avatar
      cli: get rid of exit channel · 6a12eea7
      Steven Allen authored
      It wasn't a reliable way to determine if the command was "done". We need to wait
      for run, post-run, etc. to finish first.
      
      * Fixes #143
      
      This commit:
      
      1. Removes the exit channel from the CLI response emitter.
      2. Adds a `Status()` function to the `cli.ResponseEmitter` as a replacement
         for (1).
      3. Renames `Exit(code)` to `SetStatus(code)`. This new function doesn't
         immediately _do_ anything other than set the status.
      4. Make sure to wait for _everything_ to finish before returning from `cli.Run`.
      6a12eea7
  5. 07 Dec, 2018 1 commit
  6. 26 Oct, 2018 1 commit
    • Steven Allen's avatar
      fix encoding/decoding again · cfa895bf
      Steven Allen authored
      This time, we completely separate error encoding and let the emitter deal with it. Basically:
      
      1. Some transports won't even use the same channel.
      2. We don't *have* an error "encoder" for protobuf.
      
      We now *finally* return the correct content type (json) when returning an error after passing `--enc=protobuf`.
      
      This *also*:
      
      1. Removes GetDecoder. We need to special case this every time anyways.
      2. Allows transports to specify the "default" encoding type instead of assuming JSON.
      3. Ensure that we never mistake a value for an error in the HTTP transport by converting to a cmdkit.Error *before* passing errors to `doPreamble`.
      cfa895bf
  7. 25 Oct, 2018 1 commit
  8. 23 Aug, 2018 11 commits
  9. 11 Jan, 2018 2 commits
  10. 22 Dec, 2017 1 commit
  11. 21 Dec, 2017 1 commit
  12. 23 Oct, 2017 1 commit
  13. 06 Oct, 2017 1 commit
  14. 08 Jun, 2017 1 commit
  15. 26 May, 2017 1 commit
  16. 25 May, 2017 2 commits
  17. 15 May, 2017 2 commits
  18. 12 May, 2017 2 commits
  19. 08 May, 2017 1 commit
  20. 26 Apr, 2017 1 commit
  21. 25 Apr, 2017 1 commit
  22. 20 Apr, 2017 1 commit
  23. 19 Apr, 2017 1 commit
  24. 16 Apr, 2017 1 commit