Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 8 days ago
JSON representation

πŸ‘¨β€πŸ’ΌReduce daily routine with sasha

Awesome Lists containing this project

README

        


sasha



Swift 4.2

Make

Swift Package Manager


Marathon


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, [email protected]

[![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](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.