Git Product home page Git Product logo

uribo's Introduction

uribo

uribo Documentation Actions Status License

A command line tool that executes a shell command defined in a $PWD/(..)*/.uribo file.

// Define and run the "hello" command.
$ uribo run hello
"hello" command is not defined

$ uribo put hello -- echo "Hello World!"
$ cat .uribo
{
  "hello": {
    "command": "echo",
    "args": [
      "Hello World!"
    ]
  }
}

$ uribo run hello
Hello World!

// If the specified command is not found in the $PWD/.uribo file,
// the parent directories will be searched.
$ echo '{"ver": {"command": "uribo", "args": ["--version"]}}' > ../.uribo
$ uribo run ver
uribo 0.2.0

Recommended Fish shell configuration

set -x URIBO_DEFAULT_CONFIG_PATH "$HOME/.uribo"

function fish_command_not_found
    if uribo find $argv[1] > /dev/null 2> /dev/null
        uribo run $argv
    else
        __fish_default_command_not_found_handler $argv[1]
    end
end

uribo's People

Contributors

sile avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.