Skip to content
Snippets Groups Projects
Commit 10687555 authored by Emily Pillmore's avatar Emily Pillmore :ocean:
Browse files

Rewrite `cabal init` command

* Restructures the `cabal init` command to fix historical
  issues. All flags are preserved.
  * Codebases for interactive and non-interactive flags
    are disentangled.
  * Data structures now exploit relevant stanza structure
    and formatters only care about stanza data
  * Heuristics and prompts have a pure and impure implementation.

* Sets default behavior to be `--interactive` as opposed to
  `--non-interactive`.

* Rewrites tests to achieve 98% coverage
  * Golden files now test every stanza individually
  * Every flag is covered by a unit test
  * Interactive, simple, and non-interactive workflows are
    covered.
parent 4f8aeb2c
No related branches found
No related tags found
No related merge requests found
Showing
with 2862 additions and 2032 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment