Add `format` command to force unconditional formatting (#1186)

This allows users of buildozer to format files without also having
buildifier installed. This was possible previously by making a trivial
edit and reverting it, but a dedicated command is cleaner.

Will be used as part of the upcoming `bazel mod tidy` command.
3 files changed
tree: f6731e99e0293a8521f1ef9a39bda8573d0a7b38
  1. .bazelci/
  2. api_proto/
  3. build/
  4. build_proto/
  5. buildifier/
  6. buildifier2/
  7. buildozer/
  8. bzlenv/
  9. config/
  10. convertast/
  11. deps_proto/
  12. differ/
  13. edit/
  14. extra_actions_base_proto/
  15. file/
  16. generatetables/
  17. labels/
  18. lang/
  19. release/
  20. tables/
  21. testutils/
  22. unused_deps/
  23. warn/
  24. wspace/
  25. .bazelrc
  26. .gitignore
  27. .mailmap
  28. BUILD.bazel
  29. CODEOWNERS
  30. CONTRIBUTING.md
  31. CONTRIBUTORS
  32. go.mod
  33. go.sum
  34. launcher.js
  35. LICENSE
  36. README.md
  37. status.py
  38. update_generated.sh
  39. WARNINGS.md
  40. WORKSPACE
README.md

Buildtools for bazel

This repository contains developer tools for working with Google's bazel buildtool.

Build status

Setup

See instructions in each tool's directory.