<commit_before># Sidir

iOS Simulator directory explorer. This gem is a personal tool intended to make it slightly easier to navigate/manage the iOS Applications directory

## Installation

Add this line to your application's Gemfile:

    gem 'sidir'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install sidir

## Usage

sidir is a quick, dirty experiment that attempts to use commands with similar semantics to those in common shells to make them easy to remember. The main reason for sidir is because Applications are stored under unique hashs in the Applications directory, which makes this a pain to navigate in finder especially if you have lots of apps installed in your simulators.
    
At which point you'll get a simple prompt

    sidir / >
    
Use help to print available commands

    sidir / > help
          cd <item> - change to directory at <item>
          ls        - list available simulators
          
Once you have cd'd into the context of a simulator you'll have more options available

    sidir /5.1 > help
          cd <item> - open finder at <item>
          cd ..     - move back to simulators
          ls        - list available applications
          rm        - delete the application and all data 
          reset     - clean all paths as if the app is freshly installed

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)<commit_msg>Added sample session to README<commit_after># Sidir

iOS Simulator directory explorer. This gem is a personal tool intended to make it slightly easier to navigate/manage the iOS Applications directory

## Installation

Install it yourself as:

    $ gem install sidir

## Usage

sidir is a quick, dirty experiment that attempts to use commands with similar semantics to those in common shells to add contextual navigation of the iOS sims directories. The main reason for sidir is because Applications are stored under unique hashes in the Applications directory, which makes this a pain to navigate in finder, especially if you have lots of apps installed in your simulators.
    
Start at your terminal with

    sidir
    
At which point you'll get a simple prompt

    sidir / >
    
Use help to print available commands

    sidir / > help
          cd <item> - change to directory at <item>
          ls        - list available simulators
          
Once you have cd'd into the context of a simulator you'll have more options available

    sidir /5.1 > help
          cd <item> - open finder at <item>
          cd ..     - move back to simulators
          ls        - list available applications
          rm        - delete the application and all data 
          reset     - clean all paths as if the app is freshly installed
          
An example session might look something like (horizontal space added for clarity)

    sidir
    
    sidir / > ls
    4.3.2
    5.0
    5.1
    
    sidir / > cd 5.1
    
    sidir /5.1 > ls
    Animations
    Lines
    Testing
    hello_world
    
    sidir /5.1 > reset Testing 
    /Users/paul/Library/Application Support/iPhone Simulator/5.1/Applications/927BF49B-95ED-44AF-BC98-A8FB6E49571A
    cd Library/Caches
    rm -r Snapshots
    cd -
    
    sidir /5.1 > rm Testing 
    All data associated with "Testing" will be permanently deleted.
    Are you sure?[yn]
    y
    Testing deleted
    
    sidir /5.1 > exit

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
{'fraction_non_alphanumeric': 0.050761421319796954, 'fraction_numerical': 0.013091103393000268, 'mean_word_length': 2.463459759481961, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6826961', 'n_tokens_mistral': 1050, 'n_tokens_neox': 958, 'n_words': 501}