Manage and run eXecutable Files from anywhere in your project.
$ git clone git://github.com/bytecollective/xf.git
$ cd xf
$ make install
$ xf --help
$ cd /path/to/xf/source
$ make uninstall
Usage: xf command [args]
COMMANDS:
--help, -h
Show this message
--version, -v
Show version
init <path>
Initialize xf project. Uses current working
directory if no path is given.
<command> [options]
Run the specified command
edit <command> [options]
Edit the specified command
--use-history, -uh
Appends the tail of ~/.bash_history to the
command before editing.
rm <command>
Remove the specified command
show <commandname>
Show the contents of the specified command
ls
List available commands
xfiles
Show location of .xfiles
$ xf init
$ ls
xffiles
$ xf xffiles
/projects/xf_example/xffiles
$ xf edit example
echo "Hello"
echo "From xf!"
$ mkdir subdir
$ cd subdir
$ xf ls
example
$ xf example
Hello
From xf
$ xf rm example