readme v0.0.1

This commit is contained in:
UnrealDragon 2025-09-10 18:57:53 +05:30
commit b229a40278

View file

@ -1,13 +1,22 @@
### Simple Goto script written in cpp. ### Simple Goto script written in cpp.
Usage: goto [OPTION|LINK_NAME] Usage: goto [OPTION|LINK_NAME]
Options:
Options:
-h --help : Show this info -h --help : Show this info
-c --create_link : Create a new link e.g: goto --create_link [LINK_NAME] [FROM_PATH] -c --create_link : Create a new link e.g: goto --create_link [LINK_NAME] [FROM_PATH]
-l --list : List all the existing links -l --list : List all the existing links
-d --delete_link : Delete an exisiting link e.g: goto -d [LINK_NAME] -d --delete_link : Delete an exisiting link e.g: goto -d [LINK_NAME]
-rf --delete_file : Delete the existing link file completely.
-rf --delete_file : Delete the existing link file completely
[LINK_NAME] : Goes to an exisiting link e.g: goto [LINK_NAME] [LINK_NAME] : Goes to an exisiting link e.g: goto [LINK_NAME]
[LINK_NAME] : Rules for creating [LINK_NAME] name must be BASH variable and must not start with "-" [LINK_NAME] : Rules for creating [LINK_NAME] name must be BASH variable and must not start with "-"
[LINK_NAME] : [LINK_NAME] cannot be "last" [LINK_NAME] : [LINK_NAME] cannot be "last"
### To use add a function in bash like: ### To use add a function in bash like: