GithubHelp home page GithubHelp logo

tuapsekad / excelexec Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sublimetext/excelexec

0.0 1.0 0.0 77 KB

Plugin for Sublime Text 2 to execute a command and redirect its output into a view

License: MIT License

excelexec's Introduction

Excel Exec

Plugin for Sublime Text 2 to execute a command and redirect its output into a view.

Usage

The following commands are accessible via the command palette:

  • Excel Exec: Execute in this window
  • Excel Exec: Execute in a new window

Window commands

excel_exec

Executes a command according to the arguments passed.

sublime.active_window().run_command('excel_exec', { 'cmd': 'ls' })

excel_exec_what

Prompts the user for the command to launch.

sublime.active_window().run_command('excel_exec_what', { 'inline': False })

Parameters

  • cmd (string|list): the command to execute
  • inline (bool): if false the command output will be displayed in a new window
  • path (string): the environment variable $PATH to use
  • shell (bool): if true executes the command through a shell
  • working_dir (string): the directory the command has to be executed in
  • encoding (string): the encoding of the command output
  • env (dict): environment variables to set before the command runs
  • quiet (bool): enable display of extra information

Installation

Clone this repository into the Packages directory. If you don't know where it is, enter the following command in the console:

print sublime.packages_path()

To access the console press CTRL + `

Note

This plugin is based on the Exec command shipped with Sublime Text.

License

Licensed under the MIT License

excelexec's People

Contributors

fmcorz 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.