#cli #project-management #utilities #rust

app goto_project

Easy and fast project switching in your shell!

8 releases

0.2.1 Mar 17, 2020
0.2.0 Mar 15, 2020
0.1.5 Feb 4, 2019
0.1.3 Dec 7, 2018
0.1.1 Aug 9, 2018

#2598 in Command line utilities

Download history 11/week @ 2023-10-17 14/week @ 2023-10-24 13/week @ 2023-10-31 2/week @ 2023-11-14 17/week @ 2023-11-21 34/week @ 2023-11-28 8/week @ 2023-12-12 16/week @ 2023-12-26 8/week @ 2024-01-02 16/week @ 2024-01-16 4/week @ 2024-01-23 32/week @ 2024-01-30

52 downloads per month

MIT license

16KB
382 lines

goto-project

Easy and fast project switching in your shell!

This is a like workon for python, but more powerfull and not only for python.

Build Status Crates.io

Configuration and usage

Specify your projects in ~/.goto-project.yaml file.

goto-project:  # project name
  path: ~/Devel/Projects/goto-project/  # where to cd to open project
  instructions:  # any instructions to run on project opening
    - source ~/Devel/Envs/py3_goto-project/bin/activate
    - export PATH="$HOME/Devel/Projects/goto-project/src/target/debug:$PATH"
  • List all available projects
gt
  • Open project goto-project
gt goto-project
  • List subdirs of goto-projects
gt goto-project --list-subdirs
  • List subdirs of project's subdir
gt goto-project src --list-subdirs
  • Open project within subdir
gt goto-project src

To close project press C-D, this will roll back all environment changes. In the example above, virtual environment will be "deactivated" and PATH will be restored.

Screencast

asciicast

Dependencies

~2.4–3.5MB
~67K SLoC