Class: ArduinoCI::ArduinoCmdLinux

Inherits:
ArduinoCmd show all
Defined in:
lib/arduino_ci/arduino_cmd_linux.rb

Overview

Implementation of Arduino linux IDE commands

Instance Attribute Summary collapse

Attributes inherited from ArduinoCmd

#base_cmd, #binary_path, #last_err, #last_msg, #last_out, #libraries_indexed

Method Summary

Methods inherited from ArduinoCmd

#_install_library, #_prefs_raw, #_set_pref, #_wrap_run, #board_installed?, #board_manager_urls, #board_manager_urls=, flag, #get_pref, #index_libraries, #initialize, #install_boards, #install_library, #install_local_library, #lib_dir, #library_examples, #library_path, #library_present?, #parse_pref_string, #prefs, #run_and_capture, #run_and_output, #set_pref, #update_library_index, #use_board, #use_board!, #verify_sketch

Constructor Details

This class inherits a constructor from ArduinoCI::ArduinoCmd

Instance Attribute Details

#flag_get_prefString (readonly)

The text of the command line flag for get_pref

Returns:

  • (String)

    the text of the command line flag (‘–get-pref` in this case)

 8
# File 'lib/arduino_ci/arduino_cmd_linux.rb', line 8 flag :get_pref, "--get-pref"

#flag_install_boardsString (readonly)

The text of the command line flag for install_boards

Returns:

  • (String)

    the text of the command line flag (‘–install-boards` in this case)

 12
# File 'lib/arduino_ci/arduino_cmd_linux.rb', line 12 flag :install_boards, "--install-boards"

#flag_install_libraryString (readonly)

The text of the command line flag for install_library

Returns:

  • (String)

    the text of the command line flag (‘–install-library` in this case)

 13
# File 'lib/arduino_ci/arduino_cmd_linux.rb', line 13 flag :install_library, "--install-library"

#flag_save_prefsString (readonly)

The text of the command line flag for save_prefs

Returns:

  • (String)

    the text of the command line flag (‘–save-prefs` in this case)

 10
# File 'lib/arduino_ci/arduino_cmd_linux.rb', line 10 flag :save_prefs, "--save-prefs"

#flag_set_prefString (readonly)

The text of the command line flag for set_pref

Returns:

  • (String)

    the text of the command line flag (‘–pref` in this case)

 9
# File 'lib/arduino_ci/arduino_cmd_linux.rb', line 9 flag :set_pref, "--pref"

#flag_use_boardString (readonly)

The text of the command line flag for use_board

Returns:

  • (String)

    the text of the command line flag (‘–board` in this case)

 11
# File 'lib/arduino_ci/arduino_cmd_linux.rb', line 11 flag :use_board, "--board"

#flag_verifyString (readonly)

The text of the command line flag for verify

Returns:

  • (String)

    the text of the command line flag (‘–verify` in this case)

 14
# File 'lib/arduino_ci/arduino_cmd_linux.rb', line 14 flag :verify, "--verify"