@click.command()
def home():
"""Set the current working directory to the development directory
TODO(marcus): Figure out how to send a "cd" to the calling process
\b
Usage:
$ be in spiderman/peter/model
$ pwd
/projects
$ be home
$ pwd
/projects/spiderman/assets/peter/model
"""
We'll need to find a way of making the child Python process execute a command in the parent shell, but I can't figure out how to do it..
Goal
cd into the current development directory
Implementation
We'll need to find a way of making the child Python process execute a command in the parent shell, but I can't figure out how to do it..