You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
510be52 (Fix): Add command special case of "Not needing the move step" no longer requires user to add a Trailing slash to indicate if source is a directory or file
af1631f Add .go.releaser.yaml file to fine tune the releases for goreleaser github action
13f234e Add Colored logs with fatih/color package. Update all Log() and VerboseLog() calls to use INFO,WARNING,ERROR,SUCCESS codes to signifiy Logging colors
9232f57 Add Comments explaining things in Remove Function, And replace some code with filePathInfo helper function
426d5e2 Add ConfigName global variable and switch to using filepath.Join to create file paths. And Run setup directory function on startup
575bdf7 Add Error checking if more than expected arguments are provided with each subcommand
9cfdc83 Add Print statements to provide some output to console about what's happening under the hood. And update error messages.
0faf25f Add a Add record function to update records of symlinks to yaml file, Update .gitignore
3956d44 Add a RemoveRecord function for the Remove subcommand
cb20197 Add a Unlink Function, to move the file to original source path, and Delete the symlinks
cc3bac1 Add a way to reverse link a file, For file to exist at destination, but not on source.
3a5b75a Add ability to symlink given path to current directory. Add usage message, and flags
29be115 Add better formatting for message outputs, Update README, Change Log Color for Updating Record message
99e6c6b Add linux package binaries to goreleaser.yaml to generate .deb and .rpm packages
a47f073 Add the default GoReleaser.yml github action file to creates releases
f11f264 All Add subcommand cases are working now, Fix the HasSuffix function check, and update references
8c89c93 Change AliasConfig and ExpandConfig functions to methods and update references
dae2601 Change Logs to be printed in Bold. and update remove command help message
14f5cfb Clean up main.go and move all the logic to cmd/linksym.go and have every function return the error to main
5d544bf Complete the Add subcommand functionality. Add Errors to be returned to each subcommands, that can be handled in main()
75a5e55 Create A AppendToDestinationPath function to reduce repeatative code
427a6bd Create AppConfig global variable. Update LoadConfig function to load configuration into global variable
383a734 Update README.md, move workflow heading to top, and add note to mackup project
ce10603 Update Readme with Restore command instruction, and better formatting
8ce5e26 Update Remove Command prototype to handle case of multiple arguments provided
11ca394 Update Remove subcommand function to take *AppConfig as argument to check records and call RemoveRecord() method on
8b9fb97 Update Remove subcommand to take multiple arguments and remove each record in one go
9eccb26 Update SetupDirectories and InitiasliseConfig function to fix global variable issues
637818e Update SetupDirectory function to call ExpandPath() on InitDirectory separetely on run. And Update AliasPath function
522aec1 Update WriteConfig function to call AliasPath function before writing config. Remove unneeded WriteConfig and AliasPath function calls
74e5c1c Update WriteConfig function to take *AppConfig as argument for marshalling data into file. And update InitialiseConfig to require config path to create emtpy config
ce24f51 Update config package, Fix error returns, decouple the Saving config and Updating records logic, Use better Variable names
8b6c244 Update configuration storing logic, now using an array of struct to store the paths and "name" extracted from path, for easier access to the records
d3e5e1d Update filePathInfo function to check file existence internally to remove call to CheckFile function.
f73bc65 Update filePathInfo function to return a struct, instead of 5 return values. Update References in Add and Remove Commands
c99766d Update github action for goreleaser to only target Single OS and Arch or Linux and amd64
9886443 Update help command message, Add -v verbose flags and update subcommand help message
03ce466 Update main.go with usage of flags, new CheckFile function and remove unneeded code
4c7b366 Update module name to use lowercase command name. linksym
151b0b6 Update release github action to allow manully triggering of the action
954a0e0 Update the Add Subcommand switch statement AGAIN. Much cleaner code using Boolean Vars and Also commented each case clearly
cf7e84f Update the Add command logic for 2 passed arguments, using the new MoveAndLink function and Link function for Special Case
ceecf9f Update the Add subcommand logic. Use more bool flags to call the Link function
b936bcf Update the AliasPath and ExpandPath function definition to not loop over []string, but work with strings directly.
19952b1 Update the Link function to receive isDirectory and toMvoe bool and move file checking and error handling out of function to the caller
94002e7 Update variable name in linker.Link function for better clarity