Skip to content

A very very simple CSV flash-card app run the the terminal!

License

Notifications You must be signed in to change notification settings

nettapper/CSVFC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSVFC

Build Status
Comma seperated values flash cards
Screenie

Files

.
├── CSVFC.cabal   -- Describes the project
├── LICENSE       -- The default licence from Stack
├── README.md     -- This file
├── Setup.hs      -- A Stack file?
├── demo.png      -- The amazing Screenie!!
├── lib
│   └── CSVFC.hs  -- The core functions of CSVFC
├── src
│   └── Main.hs   -- The UI wrapper for the core CSVFC
├── stack.yaml    -- Stack config
├── study         -- Untracked folder filled with my flashcards
│   └── ...
└── test.csv      -- An example csv Q&A file format
└── tests         -- The testing directory
    └── tests.hs

4 directories, 10 files

Run

Before running you will have to manually edit the filepath varialbe in src/main.hs

After downloading Stack, issue the following commands.
stack setup
stack build
stack exec CSVFC
Note: Haskell GHC will be download for you and managed for you by Stack.

File format

One question answer pair per line.
The first comma splits the front and the back of the card.
I do very little error handling so it might blow up :)
You can add a comment if the first char in the line is #
For more examples see test.csv.

About

A very very simple CSV flash-card app run the the terminal!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published