https://github.com/eiskrenkov/sublinit
Sublime Text CLI for new projects initialization
https://github.com/eiskrenkov/sublinit
ruby sublime sublime-text thor
Last synced: 12 months ago
JSON representation
Sublime Text CLI for new projects initialization
- Host: GitHub
- URL: https://github.com/eiskrenkov/sublinit
- Owner: eiskrenkov
- License: mit
- Created: 2021-06-27T17:47:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-19T11:46:32.000Z (over 3 years ago)
- Last Synced: 2025-02-21T22:37:16.893Z (over 1 year ago)
- Topics: ruby, sublime, sublime-text, thor
- Language: Ruby
- Homepage: https://rubygems.org/gems/sublinit
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://badge.fury.io/rb/sublinit)
# Subl Init
It simplifies the process of new Sublime Text projects creation
## Installation
Install sublinit on your machine as any other Ruby Gem
```sh
$ gem install sublinit
```
## Demo

## Usage
### Ruby
Executing `$ sublinit ruby --new --name newproject --gemset npr` will
1. Create `newproject` directory
2. Initialize git repository inside
3. Create `npr` gemset
4. Create `.versions.conf` RVM configuration inside
5. Create `newproject.sublime-project` with Gems folder reference inside
6. Open newly created project in Sublime Text
If you won't pass `--new` option, SublInit won't create any folders and will run inside of the current one
#### Other options
1. `--no-open` do not open the project in Sublime Text
2. `--origin` your project's default remote, e.g `git@github.com:eiskrenkov/sublinit.git`
### Plain
Executing `$ sublinit plain --new --name newproject` will
1. Create `newproject` directory
2. Create `newproject.sublime-project`
3. Open newly created project in Sublime Text
If you won't pass `--new` option, SublInit won't create any folders and will run inside of the current one
#### Other options
1. `--no-open` do not open the project in Sublime Text