Sha256: 4cbe8f92cf681d6196b58ef771a065e1b9dd78b2ed7905d6ea3a363824d0d244
Contents?: true
Size: 1.52 KB
Versions: 3
Compression:
Stored size: 1.52 KB
Contents
# lib/aia/external/subl.rb class AIA::External::Subl < AIA::External::Tool def initialize super @role = :editor @desc = "Sublime Text Editor" @url = "https://www.sublimetext.com/" @install = "echo 'Download from website'" end def open(file) `#{name} #{file}` end end __END__ $ subl --help Sublime Text build 4166 Usage: subl [arguments] [files] Edit the given files or: subl [arguments] [directories] Open the given directories or: subl [arguments] -- [files] Edit files that may start with '-' or: subl [arguments] - Edit stdin or: subl [arguments] - >out Edit stdin and write the edit to stdout Arguments: --project <project>: Load the given project --command <command>: Run the given command -n or --new-window: Open a new window --launch-or-new-window: Only open a new window if the application is open -a or --add: Add folders to the current window -w or --wait: Wait for the files to be closed before returning -b or --background: Don't activate the application -s or --stay: Keep the application activated after closing the file --safe-mode: Launch using a sandboxed (clean) environment -h or --help: Show help (this message) and exit -v or --version: Show version and exit --wait is implied if reading from stdin. Use --stay to not switch back to the terminal when a file is closed (only relevant if waiting for a file). Filenames may be given a :line or :line:column suffix
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aia-0.3.4 | lib/aia/external/subl.rb |
aia-0.3.3 | lib/aia/external/subl.rb |
aia-0.3.0 | lib/aia/external/subl.rb |