Skip to content

0012 gauge command structure

nehashri edited this page Sep 25, 2017 · 1 revision

12. Gauge command structure

This ADR has been recorded retrospectively.

Status

Accepted

Context

Gauge supports some actions that can be preformed on a project. Gauge commands uses flags to perform these actions. The action's behaviour can be changed with some other flags passed. So, some flags work only when some other flags are passed.
Eg : --strategy works only if --parallel flag is passed.

Decision

Gauge should instead use sub-command structure. Flags should be used on the sub-commands to change the commands action
Refer this issue for more information.

Consequences