Code Monkey home page Code Monkey logo

run.fish's Introduction

run.fish

Easy script management using fish shell

Description

run.fish is a powerful script management tool that streamlines the execution and organization of scripts in a designated directory. The main command is run, and additional functionalities are accessed using dot-notation, such as run.[cmd]. Here's a breakdown of the key functionalities:

Basic Usage

run <script_name> [...args]
  • Description: Runs the corresponding script in the specified directory.
  • Example: run test_script arg1 arg2

Additional Commands

run.rm

run.rm <script_name>
  • Description: Removes a script from the specified directory.
  • Example: run.rm old_script

run.ln

run.ln <script_path> [<script_alias>]
  • Description: Creates a symbolic link to an existing script in the directory.
  • Example: run.ln /path/to/script.sh my_script

run.history

run.history
  • Description: Lists the history of scripts executed with run.
  • Example: run.history

run.log

run.log
  • Description: Displays the run log file.
  • Example: run.log

run.ls

run.ls
  • Description: Lists all scripts in the specified directory.
  • Example: run.ls

run.edit

run.edit <script_name>
  • Description: Opens the specified script in the default editor.
  • Example: run.edit edit_script

run.new

run.new <script_name> <script_type>
  • Description: Creates a new script in the directory with the specified type.
  • Example: run.new new_script bash

Examples

  • Create a new Node.js script: run.new my_node_script node
  • Run a script: run existing_script arg1 arg2
  • List all scripts: run.ls
  • Open a script for editing: run.edit edit_script

For detailed information and examples, use run --help or refer to the provided examples in the help message.

run.fish's People

Contributors

sbyware avatar

Stargazers

 avatar Nico Kokonas avatar

Watchers

 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.