Skip to content

ryankee/xf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xf

Manage and run eXecutable Files from anywhere in your project.

INSTALLATION

$ git clone git://github.com/bytecollective/xf.git
$ cd xf
$ make install
$ xf --help

GETTING THIS CRAP OFF OF YOUR COMPUTER

$ cd /path/to/xf/source
$ make uninstall

USAGE

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

    ls                       
        List available commands

    xfiles                 
        Show location of .xfiles

QUICK EXAMPLE

$ 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

About

eXecutable Files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published