https://github.com/artemnovichkov/sasha
👨💼Reduce daily routine with sasha
https://github.com/artemnovichkov/sasha
cli commandline design-tools project-template swift-script
Last synced: 12 months ago
JSON representation
👨💼Reduce daily routine with sasha
- Host: GitHub
- URL: https://github.com/artemnovichkov/sasha
- Owner: artemnovichkov
- License: mit
- Created: 2017-08-24T09:53:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-24T15:30:18.000Z (over 7 years ago)
- Last Synced: 2025-04-05T21:43:34.625Z (12 months ago)
- Topics: cli, commandline, design-tools, project-template, swift-script
- Language: Swift
- Homepage:
- Size: 206 KB
- Stars: 30
- Watchers: 2
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sasha is an easy-to-use CLI app for routine designer tasks.
Features • Using • Installing • Author • License
## Features
- Icon slicing for different platforms:
- iOS
- watchOS including 40 and 44 mm versions
- watchOS Complications
- macOS
- Carplay
- Android
- Android Wear
- Project folder tree generation
## Using
### Icons
Sasha has two main commands - `icons` and `project`.
```bash
$ sasha icons --platform iOS --name icon.png
```
Sasha generates icons in needed resolutions as well. For Apple platforms Sasha generates `AppIcon.appiconset`, which iOS developer can drag and drop right into `Images.xcassets` without manual icon sorting 👨🏻💻👍.
There is a [service](https://github.com/artemnovichkov/sasha/issues/5#issuecomment-358310264) for Sasha. Right click on an original icon, select `Services > Sasha, make me iOS icons`.
### Project generation
```bash
$ sasha project --name ProjectName
```
Sasha generates folder tree with name passed via `--name` option. By default Sasha uses this project structure:
```
iOS
-UI
--old
--png
-UX
--old
--png
Android
-UI
--old
--png
-UX
--old
--png
references
-main_screens
-menu
-cards
-another_case
stuff
-logos
-icons
-patterns
-stocks
-source
```
To change it, open `~/.sasha/project.sasha` file in your favourite text editor and make custom project structure.
## Installing
### Homebrew (recommended):
```bash
$ brew install artemnovichkov/projects/sasha
```
### Make:
```bash
$ git clone https://github.com/artemnovichkov/sasha.git
$ cd sasha
$ make
```
### Swift Package Manager:
```bash
$ git clone https://github.com/artemnovichkov/sasha.git
$ cd sasha
$ make build
$ cp -f .build/release/sasha /usr/local/bin/sasha
$ cp -r .sasha ~
```
### Marathon:
- Install [Marathon](https://github.com/johnsundell/marathon#installing).
- Add Files using `$ marathon add https://github.com/artemnovichkov/sasha.git`.
- Run your script using `$ marathon run `.
## Author
Artem Novichkov, novichkoff93@gmail.com
[](https://www.codementor.io/artemnovichkov?utm_source=github&utm_medium=button&utm_term=artemnovichkov&utm_campaign=github)
## License
Sasha is available under the MIT license. See the LICENSE file for more info.