Add status subcomannds: features and test-feature

This teaches the status command to work with features.
'status features' will show a table listing all known features and whether
they are currently on or off.
`status test-feature` will test an individual feature, setting the exit status to
0 if the feature is on, 1 if off, 2 if unknown.
This commit is contained in:
ridiculousfish
2018-04-24 14:02:15 -07:00
parent 14f766b66d
commit 782cae2d21
4 changed files with 51 additions and 1 deletions

View File

@@ -6,3 +6,6 @@ status: Invalid combination of options,
you cannot do both 'is-block' and 'is-interactive' in the same invocation
status: Invalid job control mode 'full1'
status: Invalid job control mode '1none'
####################
# Future Feature Flags