Commit graph

14 commits

Author SHA1 Message Date
36acb1a324
feat: add create subcommand and FlagSet
- Add a new subcommand and FlagSet for creating new CV JSON files.
- fix: close the file after reading the CV.
2023-08-12 09:43:45 +01:00
2c57c3c278
build(clean): list files to remove
Add a list of files to remove when cleaning the workspace.
2023-08-11 19:31:26 +01:00
b9dbdb2c61
refactor: embed *flag.FlagSet
Embed *flag.FlagSet directly into the subcommand types.
2023-08-11 19:26:24 +01:00
cee274318d
feat: add FlagSets to create new subcommands
Create new FlagSets to create new subcommands.

- The version subcommand prints the version and build info.
- The generate subcommand generates the CV PDF documentation.
2023-08-11 18:33:26 +01:00
69c3165fc1
build: replace make with mage
- Replace the makefile with the magefile
- Update the Dockerfile
- Update go.mod
2023-08-11 14:59:21 +01:00
52868d7aa8
fix: add version and print with --version
Add a version variable that is printed to screen with the --version
flag.

Add a basic Makefile for building and installing spruce.
2023-03-08 00:42:04 +00:00
fa8dbe68e9
feat(BREAKING): limit shown employment history
Allow users to limit the amount of employment history shown in the PDF
document by specifying a time range. This is a breaking change as the
structure of the CV needs to slightly change. The employment's start and
end dates need to be represented as integers.

Additional refactoring:

- The CV type is now in the internal cv package.
- The template functions are now in the internal templateFuncs package.
2023-03-02 17:40:04 +00:00
76fbe5c704
fix: more flexibility in Links and Contact section
Add more flexibility for the Links and Contact sections by removing the
strict types and replacing them with map[string]string.
2023-02-23 20:36:51 +00:00
38218f5811
fix(breaking): change technologies to skills 2023-02-23 19:53:57 +00:00
ac1139b6d1
chore: renamed project to spruce 2023-02-23 19:44:06 +00:00
21d7b3c447
fix: update the Dockerfile
Changes:

- Build the cv-builder tool using go build instead of mage -compile in the first stage.
- The final docker image is now based on Alpine.
- Create a copy function to copy the final CV from the temporary directory to the final destination.
- Replace os.Rename with the custom copy function to support copying files between different filesystems.
2023-02-21 08:30:31 +00:00
39881b6965
chore: go mod tidy 2023-02-19 07:42:25 +00:00
11b9d4df15
feat: new cv builder tool
New CV builder tool migrated from the private repository.
2023-02-18 21:01:28 +00:00
60227b15b4 Initial commit 2023-02-14 07:43:15 +00:00