Add import statements to a given module.
For example, to add import Foo.Bar to the Frontend module, you can use the following configuration:
Install.Import.init "Frontend" "Foo.Bar"
|> Install.Import.makeRuleTo add the statement import Foo.Bar as FB exposing (a, b, c) to the Frontend module, do this:
Install.Import.init "Frontend" "Foo.Bar"
|> Install.Import.withAlias "FB"
|> Install.Import.withExposedValues [ "a", "b", "c" ]
|> Install.Import.makeRuleCreate a rule that adds an import for a given module in a given module. See above for examples.
Add an alias to the imported module.
Add an exposing list to the imported module.
Initialize the configuration for the rule.