services/device/device: make glob flags per-subcommand instead of global

The main motivation is to customize the default values of the glob flags
depending on the subcommand. For example, update wants to group parallelism by
kind, whereas status is happy to run with full parallelism; also (to come)
update should by default only care about active installations and non-deleted
instances.

Most of the changes are in glob.go, since I tried to package up the flag logic
in one place (to keep code in the specific subcommand files minimal).

Change-Id: I2ec04bd46a3e4ef80f53fe1ea7ef8b3d1ea9032e
9 files changed
tree: 7a0049cfbe5e872994a75905071fd8ab0feb7603
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTORS
  11. envvar.go
  12. envvar_test.go
  13. LICENSE
  14. PATENTS
  15. README.md
  16. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.