Code Monkey home page Code Monkey logo

frank's Introduction

Frank

A very simple app to run console commands.

Install

  1. Create a frank.json file:

    • a) Somewhere in your filesystem.
      • Then, store its absolute path in the FRANK_FILE environment variable.
    • b) In the folder where you're going to use frank.
  2. Run the following command:

deno install -A -f --name frank run.ts

How to use

See a frank.json sample here.

  1. Define the commands you want to execute. Each command is defined by:
    • cmd The command itself.
    • name A friendly name. Optional.
    • dir The directory where to execute the command. Optional.
  2. Define the extra directories where you can execute the previous commands. Each directory is defined by:
    • dir The directory itself. An absolute path.
    • name A friendly name. Optional.
  3. Install and execute frank.
  4. The Commands section is focused by default, you can navigate it with the arrow keys. To switch to the Directories section press tab.
  5. Run a command pressing the space or return keys. The selected command will be executed with the selected directory.
    • If none is the directory selected, then the command will be executed in the configured directory, or in the current working directory if not configured in the command.
    • If any other directory is selected, then that directory will be used to execute the command.

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.