Commit 5f00e4ee authored by Shaun McCann's avatar Shaun McCann

Merge branch 'docs/feature-flag-list' into 'master'

Add feature flag list command

See merge request gitlab-org/gitlab!24336
parents 0037bdeb f723a2a5
...@@ -126,6 +126,18 @@ Benchmark.bm do |x| ...@@ -126,6 +126,18 @@ Benchmark.bm do |x|
end end
``` ```
## Feature flags
### Show all feature flags that are enabled
```ruby
# Regular output
Feature.all
# Nice output
Feature.all.map {|f| [f.name, f.state]}
```
## Command Line ## Command Line
### Check the GitLab version fast ### Check the GitLab version fast
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment