{"id":13688307,"url":"https://github.com/srid/go-tool","last_synced_at":"2025-11-02T17:30:37.268Z","repository":{"id":66668394,"uuid":"1351922","full_name":"srid/go-tool","owner":"srid","description":"Fork of http://code.google.com/p/go-tool","archived":false,"fork":false,"pushed_at":"2011-07-27T00:17:16.000Z","size":165,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T01:07:41.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srid.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-10T19:13:06.000Z","updated_at":"2013-11-03T17:00:09.000Z","dependencies_parsed_at":"2023-02-20T09:00:25.802Z","dependency_job_id":null,"html_url":"https://github.com/srid/go-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fgo-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fgo-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fgo-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fgo-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srid","download_url":"https://codeload.github.com/srid/go-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239399828,"owners_count":19632022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T15:01:11.054Z","updated_at":"2025-02-18T02:43:09.537Z","avatar_url":"https://github.com/srid.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"go -- quick directory switching\n===============================\n\n::\n\n    Home            : http://trentm.com/projects/go/\n    License         : MIT (see LICENSE.txt)\n    Platforms       : Windows, Linux, Mac OS X, Unix\n    Current Version : 1.2.1\n    Dev Status      : mature\n    Requirements    : Python \u003e= 2.4 (http://www.activestate.com/activepython)\n\n\nWhy go?\n-------\n\n``go`` is a small command for changing directories quickly.\nTypically you have a set of directories that you work in.  Typing out\nthe names of those dirs in full can be tedious.  ``go`` allows you to\ngive a shortcut name for a directory, say ``ko`` for\n``D:\\trentm\\main\\Apps\\Komodo-devel``, and do the following::\n\n    C:\\\u003e go ko\n    D:\\trentm\\main\\Apps\\Komodo-devel\u003e\n\nand::\n\n    C:\\\u003e go ko/test\n    D:\\trentm\\main\\Apps\\Komodo-devel\\test\u003e\n\nThink of it as a super ``cd``. \n\n``go`` is free (MIT License).  Please send any feedback to `Trent\nMick \u003cmailto:trentm@google's mail thing\u003e`_.\n\n\nInstall Notes\n-------------\n\nDownload the latest (1) ``go`` source package, (2) unzip it, (3) run\n``python setup.py install`` in the unzipped directory, and (4) run\n``go-setup`` (or ``python -m go``) to setup the shell driver::\n\n    unzip go-1.2.1.zip\n    cd go-1.2.1\n    python setup.py install\n    go-setup   # to setup shell integration\n\nIf your install fails then please visit `the Troubleshooting\nFAQ \u003chttp://trentm.com/faq.html#troubleshooting-python-package-installation\u003e`_.\n\n\nGetting Started\n---------------\n\nThe most common things you'll do with ``go`` are adding new shortcuts::\n\n    [~/Library/Application Support/Komodo]$ go -a koappdata\n\nlisting the shortcuts you've created::\n\n    [~]$ go --list\n                        Go Shortcuts\n                        ============\n\n    Default shortcuts:\n      .                     .\n      ..                    ..\n      ...                   ../..\n      tmp                   /tmp\n      ~                     /Users/trentm\n\n    Custom shortcuts:\n      cgi-bin               /Library/WebServer/CGI-Executables\n      koappdata             /Users/trentm/Library/Application Support/Komodo\n      pyinstall             /Library/Frameworks/Python.framework/Versions/2.6\n      staging               /Users/trentm/Sites/staging\n      www                   /Users/trentm/Sites\n\nand switching to directories using those shortcuts::\n\n    [~]$ go pyinstall\n    [/Library/Frameworks/Python.framework/Versions/2.6]$ go www\n    [~/Sites]$ \n\nRun ``go --help`` for full usage details or just `take a look at the\n``go.py`` script.\n\n::\n\n    $ go --help\n    Quick directory changing.\n\n    Usage:\n        go \u003cshortcut\u003e[/sub/dir/path]    # change directories\n                                        # same as \"go -c ...\"\n        go -c|-o|-a|-d|-s ...           # cd, open, add, delete, set\n        go --list [\u003cpattern\u003e]           # list matching shortcuts\n\n    Options:\n        -h, --help                      print this help and exit\n        -V, --version                   print verion info and exit\n\n        -c, --cd \u003cpath\u003e                 cd to shortcut path in shell\n        -s, --set \u003cshortcut\u003e \u003cdir\u003e      set a shortcut to \u003cdir\u003e\n        -a, --add-current \u003cshortcut\u003e    add shortcut to current directory\n        -d, --delete \u003cshortcut\u003e         delete the named shortcut\n        -o, --open \u003cpath\u003e               open the given shortcut path in\n                                        explorer (Windows only)\n        -l, --list [\u003cpattern\u003e]          list current shortcuts\n\n    Generally you have a set of directories that you commonly visit.\n    Typing these paths in full can be a pain. This script allows one to\n    define a set of directory shortcuts to be able to quickly change to\n    them. For example, I could define 'ko' to represent\n    \"D:\\trentm\\main\\Apps\\Komodo-devel\", then\n        C:\\\u003e go ko\n        D:\\trentm\\main\\Apps\\Komodo-devel\u003e\n    and\n        C:\\\u003e go ko/test\n        D:\\trentm\\main\\Apps\\Komodo-devel\\test\u003e\n\n    As well, you can always use some standard shortcuts, such as '~'\n    (home) and '...' (up two dirs).\n\n    See \u003chttp://trentm.com/projects/go/\u003e for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrid%2Fgo-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrid%2Fgo-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrid%2Fgo-tool/lists"}