71 stable releases

✓ Uses Rust 2018 edition

2.2.1 Sep 19, 2019
2.0.1 Jul 5, 2019
1.20.0 Mar 7, 2019
1.16.0 Nov 30, 2018
0.3.0 Apr 25, 2017

#5 in Command line utilities

Download history 84/week @ 2019-06-05 177/week @ 2019-06-12 246/week @ 2019-06-19 839/week @ 2019-06-26 463/week @ 2019-07-03 996/week @ 2019-07-10 83/week @ 2019-07-17 85/week @ 2019-07-24 32/week @ 2019-07-31 143/week @ 2019-08-07 1/week @ 2019-08-14 252/week @ 2019-08-21 161/week @ 2019-08-28 275/week @ 2019-09-04 103/week @ 2019-09-11

1,163 downloads per month

WTFPL license

2MB
3.5K SLoC

Rust 2.5K SLoC // 0.0% comments BASH 403 SLoC // 0.0% comments Zsh 194 SLoC Shell 11 SLoC

[[./logo/fw_rgb.png]]

** Why fw? With fw you have a configuration describing your workspace. It takes care of cloning projects and can run commands across your entire workspace. You can start working on any project quickly, even if it's not in your flat structured workspace (better than CDPATH!). It also "sets up" your environment when you start working on a project (compile stuff, run make, activate virtualenv or nvm, fire up sbt shell, etc.)

[[doc/example_config][Here's]] an example configuration that should be easy to grasp. The default configuration location is =~/.config/fw=, and can be overridden by FW_CONFIG_DIR.

Per default projects are cloned into ${settings.workspace}/${project.name} but you can override that by setting an override_path attribute as seen in the example configuration.

** What this is, and isn't fw is a tool I wrote to do my bidding. It might not work for you if your workflow differs a lot from mine or might require adjustments. Here are the assumptions:

  • only git repositories
  • only ssh clone (easily resolveable by putting more work in the git2 bindings usage)
  • ssh-agent based authentication

*** If you can live with all of the above, you get: - workspace persistence (I can rm -rf my entire workspace and have it back in a few minutes) - ZERO overhead project switching with the workon function (need to activate nvm? Run sbt? Set LCD brightness to 100%? fw will do all that for you) - zsh completions on the project names for workon - generate projectile configuration for all your project (no need to projectile-add-known-project every time you clone some shit, it will just work)

** [[doc/installation.org][Installation]] ** [[doc/usage.org][Usage]]

Dependencies

~34MB
~848K SLoC