public
Description:
Homepage:
Clone URL: git://github.com/drnic/tabtab.git
drnic (author)
Thu Jun 25 21:58:55 -0700 2009
commit  cbe9ad6a2379e507471a86e19f46e7ee7b702d27
tree    feb1223e22a7267d4e7757ecc65697ec529dac48
parent  3616281471626cb657c81d349d4b9f3106c96c96
tabtab / features / hide_short_flags.feature
100644 20 lines (16 sloc) 0.937 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Feature: Do not display short flags (-p) within lists of completions options
  In order to reduce cost of scanning through lists of completion options
  As a tabtab user
  I want to be able to disable short flags and never see them
 
  Scenario: Explicitly disable short flags via the config file for definitions
    Given a .tabtab.yml config file
    And a file 'my_definitions.rb' containing completion definitions
    And disable short flags
    When run local executable 'tabtab' with arguments '--file my_definitions.rb test_app "" test_app'
    Then I should not see any short form flags
  
  Scenario: Explicitly disable short flags via the config file for externals
    Given a .tabtab.yml config file
    And disable short flags
    And env variable $PATH includes fixture executables folder
    When run local executable 'tabtab' with arguments '--external test_app "" test_app'
    Then I should not see any short form flags