Skip to content

Releases: samirm-git/clflashcards

v1.2.2

Choose a tag to compare

@samirm-git samirm-git released this 24 Oct 11:05

Changelog

  • 421a762 Changed tvchooser module import to forked version so that mod file does not need to use replace which prevents go install.

Released by GoReleaser.

v1.2.1

Choose a tag to compare

@samirm-git samirm-git released this 21 Oct 13:54

Changelog

  • d712b48 Added intro.txt which is automatically created the first time the user runs the app.
  • 76055bc Update README.md
  • e0123e3 bug fixes. Added message showing that cd command is not supported

Released by GoReleaser.

v1.2.0

Choose a tag to compare

@samirm-git samirm-git released this 19 Oct 17:00
36c99da

Changelog

  • b75f9f0 Changed commandName to 'createFile'. Recommended to use 'touch' or similar commands instead of createFile.
  • bbcdabb Default to executing shell commands e.g. clear or ls.
  • 36c99da Merge pull request #22 from samirm-git/21-add-new-command
  • b5b3abc Update README.md
  • 0a1f98b Update README.md

Released by GoReleaser.

v1.1.1

Choose a tag to compare

@samirm-git samirm-git released this 15 Oct 14:50

Changelog

  • 363fe16 cleanup. Changed REPL2 to REPL

Released by GoReleaser.

v1.1.0

Choose a tag to compare

@samirm-git samirm-git released this 15 Oct 14:45
ea606d7

Changelog

  • f6f684d Commands and prompts now functional using readline package in the REPL.
  • ea606d7 Merge pull request #19 from samirm-git/18-up-arrow-key-show-previous-input
  • 2663837 Modified cardFinder so that it searches through the parent directories even if only a filename is inputted i.e. no / in input.
  • e197546 Started Refactoring code to use readline package for better keyboard controls.
  • 544e310 Update README.md
  • c1819a0 minor bug fix

Released by GoReleaser.

v1.0.0

Choose a tag to compare

@samirm-git samirm-git released this 13 Oct 09:53

Changelog

  • 1b78562 #11: Modified testme so that user has to press enter before next question is displayed
  • c44ccf4 2 Features: Edit command now has a -n flag to specify if you want to create a new file. And the REPL prompt will show the current flashcard.
  • 7806053 Added .goreleaser.yaml
  • a19ea9a Added REPL mode. Create command not working for REPL right now.
  • c8dc628 Added basic implementation for repl (input loop).
  • cf62ec6 Added commands, 'editgui' and 'selectgui', which provide GUI graphical interfaces for selecting or editing a flashcardfile. selectgui is synonymous to select without any additional args.
  • d7f5138 Changed saveFlashcard() to insert new line at the start rather than the end. This makes it easier if the user edits the file but does not insert a new line character.
  • 42c1d14 Create command working without any specified args. Need to update it to use flags similar to editFile.
  • 1c17b02 Created a struct to index the file structure from the root (flashcard store). Need to fix checkCardInIndex() function.
  • 4ec7833 Dependencies changes before building via goreleaser.
  • fd5ac22 Feature: help command. Also created new commands struct which should make it easier to add new commands and ensure all commands have run and runHelp functions. Also moved repl.go to main package.
  • 8c2fccd Feature: new 'testme' command which will prompt users with the questions from a flashcard file. No functionality to show if answer was right or wrong yet.
  • 4b8a365 Feature: refresh command
  • 31924dc Feature: show command will show n flashcards in the current selected flashcard file.
  • 075ac24 Final error handling done by dispatchCommand(). Functions in commands.go will simply return the error with a useful wrapper message,
  • 7566e34 Fixed bug in SmartCardFinder() so that it works even if no card is currently selected. Also added optional flags to create command.
  • 29343e7 Fixed minor bug in errorf message.
  • def9e54 Fixed minor bug in returning error in runRefresh()
  • 27c2d4b Implemented Feature: 'select' command allows user to select flashcard (file)
  • 9eb774d Improved formatting of print statments in testme
  • 4fd6322 Initial commit
  • b5898df Merge pull request #10 from samirm-git/9-create-help-command
  • 00887ea Merge pull request #13 from samirm-git/12-fix-show-command
  • 52655fb Merge pull request #17 from samirm-git/15-add-refresh-command
  • 855f29c Merge pull request #4 from samirm-git/3-create-a-map-of-the-flashcard-dir-structure
  • 02e6bd4 Merge pull request #7 from samirm-git/5-add-test-command
  • 70389c2 Merge pull request #8 from samirm-git/6-change-ui
  • 6c43b04 Moved away from Cobra as it overly complicated for this use case. Simple create command working.
  • dfeb225 New feature: 'select' command when first running app (outside REPL mode).
  • 9560ed7 Removed flags package as was not necessary. Might migrate to Cobra if needed fancier tools.
  • 6c06511 Restructured code base. New package 'flashcards' to handle all the logic. Can create a separate package for config.
  • 324b789 Show command now shows current flashcard items instead of testfile.
  • 0d5b762 Updated README
  • 26ac0cb Updated editFile (now called 'edit') command to better parse args
  • c412f7d added editfile option. Orgnaised code into <main.go, flashcards_core.go, helpers.go>
  • ed78fe4 added new printPromptCommand() which will print the input required by the user which is (currently) used for the create and testme commands.
  • 6e2c695 cardfinder() seems to be working now for both select and edit commands.
  • 2d1abd2 changed checkCardInIndex() to isCardinIndex(). Seems to be working now, but further testing required.
  • e30d260 cleanup
  • cc25a12 modified error handling in runCreate
  • af7fb42 no major changes
  • d60ebad remove commits.
  • 7064aee removed unecessary file
  • e373a0c renamed flashcards_core.go to commands.go
  • ab76b95 saveFlashcard() will now save to currently selected flashcard rather than testfile.txt
  • 14b1918 see previous commit
  • adf8745 setting up Go and Cobra

Released by GoReleaser.