rejson 0.6.1

A command line utility for managing secrets
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
set -euo pipefail

main() {
  echo "Running cargo fmt to check for style issues..."
  local diff=$(cargo +nightly fmt -- --check)
  local result=$?

  if [[ ${result} -ne 0 ]]; then
    echo 'There are some code style issues, run `cargo fmt` first.' 1>&2
    exit 1
  fi
}

main "$@"