Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/artemnovichkov/sasha
- Owner: artemnovichkov
- License: mit
- Created: 2017-08-24T09:53:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-24T15:30:18.000Z (about 6 years ago)
- Last Synced: 2024-05-21T08:30:18.456Z (6 months ago)
- Topics: cli, commandline, design-tools, project-template, swift-script
- Language: Swift
- Homepage:
- Size: 206 KB
- Stars: 30
- Watchers: 3
- 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, [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.