Skip to content

stevematney/xf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 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

    show <commandname>
        Show the contents of 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

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%