Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 014 Initialize cobra app * 014 Customise cobra app * 014 Initial create command * 014 Pulling out variables from init section * 014 Extract version to seperate package * 014 Add version command * 014 Remove toggle flag Did nothing, left over from creation of app. * 014 Add helpers related to dates * 014 Convert when to time * 014 Remove arguments files * 014 Moved work into model directory * 014 Add initial tests for date parsing * 014 Return an error instead of exiting * 014 Basic test for error state * 014 Remove todo Completed yesterday * 014 Check date with regex instead of by length * 014 Check expected error message * 014 Create string after knowing if its valid * 014 Handle extensions Both whitespace and other characters. Whitespace is trimmed out initially so that it is handled cleanly. Other characters are handled by throwing an error. * 014 Update test name * 014 Test for formatting * 014 Run command and return an error * 014 Create services folder * 014 Initialise service and use for create * 014 Create a repo folder Add a future implementation in yaml format * 014 Have the repo used by the service * 014 Return status code as well as error Allows for expansion beyond CLI use cases. * 014 Get author from config and load config via viper * 014 Delete file holding/reading config Viper handles this instead now. * 014 Log if unable to read config Reverse logic of when to print. * 014 Implement saving to file system In a yml format. * 014 Seperating out logic of getting the worklog directory * 014 Bump version number Do this now so that I don't forget. * 014 Adding in stub repo and service for getting by date * 014 Get midnight from given time * 014 Add stub print argument * 014 Return files from yamlRepo * 014 Print each log of work * 014 Bump version
- Loading branch information