Crates.io | fw |
lib.rs | fw |
version | 2.19.1 |
source | src |
created_at | 2017-04-07 18:40:06.130396 |
updated_at | 2023-11-30 18:04:50.160817 |
description | faster workspace management |
homepage | |
repository | https://github.com/brocode/fw |
max_upload_size | |
id | 9956 |
size | 186,216 |
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.)
[Here's]{.spurious-link target="doc/example_config"} an example configuration that should be easy to grasp.
The default configuration location is located under your system's config directory as described here. That is :
~/.config/fw
$HOME/Library/Application Support/fw
{FOLDERID_RoamingAppData}\fw
The location and can be overridden by setting 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.
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:
ssh-agent
based authenticationworkspace 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)