# FunWithFlags
FunWithFlags, the Elixir feature flag library.
## Usage
Still a work in progress, expect breaking changes.
```elixir
FunWithFlags.enabled?(:cool_new_feature)
false
{:ok, true} = FunWithFlags.enable(:cool_new_feature)
FunWithFlags.enabled?(:cool_new_feature)
true
{:ok, false} = FunWithFlags.disable(:cool_new_feature)
FunWithFlags.enabled?(:cool_new_feature)
false
```
## Installation
The package can be installed by adding `fun_with_flags` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:fun_with_flags, "~> 0.0.1"}]
end
```
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/fun_with_flags](https://hexdocs.pm/fun_with_flags).