Commit graph

4 commits

Author SHA1 Message Date
dbb37a1060
refactor: a lil bit of refactoring
Changes:

- Rename the UI type to App.
- Rename NewUI() to NewApp().
- Move init functions to internal/ui/ui.go.
- Call app's initialisation function from main.
- Move the keymapping functionalities to internal/ui/keymappings.go.
- Add documentation for updateColumn() and updateAllColumns().
- Applied gofmt.

Also:

- Build(mage): optionally include -a and/or -v during go build.
2024-01-14 13:46:42 +00:00
fcb148d583
build: install pelican with mage
- Add an install mage target for installing pelican.
- Display the app's version information using the version flag.
2024-01-10 07:38:54 +00:00
fc5fa7b0ca
feat(BREAKING): specify project path
All checks were successful
/ test (pull_request) Successful in 28s
/ lint (pull_request) Successful in 37s
This PR allows users to specify the path to the database file
Pelican now expects the user to specify the path to the project's
database file which allows users to open different projects.

This is a breaking change because Pelican no longer opens the
default path automatically. If no path is set then Pelican stops
with an error message.
2023-12-12 12:47:58 +00:00
155dab0918
chore: project maintenance
Some checks failed
/ test (pull_request) Successful in 28s
/ lint (pull_request) Failing after 3m41s
Changes:

- Changed README from Markdown to Asciidoc
- Updated go.mod and go.sum
- Updated magefiles for CI
- Added workflow for Forgejo Actions
2023-12-12 10:05:25 +00:00
Renamed from magefiles/magefile.go (Browse further)