Swiftpack.co - Package - artemnovichkov/sasha

sasha Swift 4 Make Swift Package Manager Marathon

Sasha is an easy-to-use CLI app for routine designer tasks.

FeaturesUsingInstallingAuthorLicense

Features

  • Icon slicing for iOS/watchOS/macOS/Carplay and Android
  • Project folder tree generation

Using

###Icons

Sasha has two main commands - icons and project.

$ 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 for Sasha. Right click on an original icon, select Services > Sasha, make me iOS icons.

###Project generation

$ 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):

$ brew install artemnovichkov/projects/sasha

Make:

$ git clone https://github.com/artemnovichkov/sasha.git
$ cd sasha
$ make

Swift Package Manager:

$ 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.
  • Add Files using $ marathon add https://github.com/artemnovichkov/sasha.git.
  • Run your script using $ marathon run <path-to-your-script>.

Author

Artem Novichkov, novichkoff93@gmail.com

Get help on Codementor

License

Sasha is available under the MIT license. See the LICENSE file for more info.

Github

link
Stars: 10
Help us keep the lights on

Used By

Total: 0

Releases

2.1.3 - Mar 27, 2018

Fixed:

  • Remove icons for old iOS versions: 29@1x, 57@1x, and 57@2x.

2.1.1 - Jan 17, 2018

Added:

  • Add --output option for generated icons' path. Related to #6

2.1.2 - Jan 17, 2018

Fixed:

  • Fix path of original icon image

2.1 - Jan 17, 2018

Added:

  • Options intead of asking for command parameters.
  • Additional idioms for iOS icons: watch, watch-marketing, car, macOS. Available via --idioms option.

Updated:

  • New argument parsing via Utility
  • Remove Swiftline dependency

2.0.3 - Oct 18, 2017

Adds:

  • Disable using the sandbox when executing subprocesses of Swift builds

View build details and download artifacts on buddybuild: Sasha (iOS, SashaCore - Debug)

View build details and download artifacts on buddybuild: