All Projects → BinaryBirds → Swift Template

BinaryBirds / Swift Template

Licence: other
A template based module generator for Swift projects.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Swift Template

Automatic Gatsbyjs App Landing Page
Automatic GatsbyJS App Landing Page - Automatically generate iOS app landing page using GatsbyJS
Stars: ✭ 137 (+302.94%)
Mutual labels:  boilerplate, generator, template
Generate
A new command line tool and developer framework for scaffolding out GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.
Stars: ✭ 238 (+600%)
Mutual labels:  boilerplate, generator, template
Stator
Stator, your go-to template for the perfect stack. 😍🙏
Stars: ✭ 217 (+538.24%)
Mutual labels:  boilerplate, generator, template
Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (+391.18%)
Mutual labels:  boilerplate, generator, template
Sao
⚔ Futuristic scaffolding tool
Stars: ✭ 966 (+2741.18%)
Mutual labels:  boilerplate, generator, template
Vipera
Project is now called Swift template, check the link ➡️
Stars: ✭ 57 (+67.65%)
Mutual labels:  module, generator, template
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+1970.59%)
Mutual labels:  boilerplate, template
Jslib Base
A modern JavaScript|Typescript library scaffolding, modularity, purity & extras
Stars: ✭ 721 (+2020.59%)
Mutual labels:  boilerplate, template
Suicrux
🚀 Ultimate universal starter with lazy-loading, SSR and i18n. [not maintained]
Stars: ✭ 958 (+2717.65%)
Mutual labels:  boilerplate, template
Express Boilerplate
🚀 Starter project for a RESTful API in Node with Express & mongoose component-based
Stars: ✭ 9 (-73.53%)
Mutual labels:  boilerplate, template
Secure Electron Template
The best way to build Electron apps with security in mind.
Stars: ✭ 623 (+1732.35%)
Mutual labels:  boilerplate, template
Modern Html Starter Template
Modern HTML Starter Template
Stars: ✭ 752 (+2111.76%)
Mutual labels:  boilerplate, template
Unityprojecttreegenerator
This script will generate universal folder structure for your Unity3D project.
Stars: ✭ 12 (-64.71%)
Mutual labels:  boilerplate, generator
Python Project Blueprint
Blueprint/Boilerplate For Python Projects
Stars: ✭ 670 (+1870.59%)
Mutual labels:  boilerplate, template
Base
A starting point for Meteor apps.
Stars: ✭ 654 (+1823.53%)
Mutual labels:  boilerplate, template
Reactprimer
React component prototyping tool that generates fully connected class component code.
Stars: ✭ 743 (+2085.29%)
Mutual labels:  boilerplate, generator
React Native Meteor Boilerplate
Stars: ✭ 637 (+1773.53%)
Mutual labels:  boilerplate, template
Primitive
⛏️ ‎ A front-end design toolkit for developing web apps.
Stars: ✭ 783 (+2202.94%)
Mutual labels:  boilerplate, template
Swiftproject
🏆 Generate Swift project with necessary toolings
Stars: ✭ 27 (-20.59%)
Mutual labels:  generator, template
Catalyst
Typescript NodeJS Microservices Boilerplate with Generator CLI - Moleculer, GraphQL, REST, OAuth2, Jaeger, Grafana, Prometheus, Ory Hydra, Ory Keto w/ Access Control middleware, Moleculer-DB GraphQL mixin, Pug, Redis, sibling client repo (login, persistance layer, react-native-web, ios, android)
Stars: ✭ 30 (-11.76%)
Mutual labels:  boilerplate, generator

Swift template

A template based generator for Swift projects.

Install

Clone or download the repository & run:

git clone https://github.com/BinaryBirds/swift-template.git
cd swift-template
make install

Usage

Help:

swift run swift-template-cli --help

Install a new template using a git repository:

swift template install <git-url-of-the-template> [-g]

# install local template
swift template install https://github.com/corekit/viper-module-template

# install global template
swift template install https://github.com/feathercms/feather-module-template -g

Update all templates, both local & global:

swift template update

List available templates:

swift template list

Remove template:

swift template remove [template-name]

Create an empty template project repository:

swift template create [template-name] [-g]

Generate a new module based on a template

swift template generate [name] --use [template-name] --output [path]

# examples
swift template generate MyModule --use viper-module
swift template generate MyModule --use viper-module --output ~/
swift template generate MyModule -u viper-module -o ~/

Scope

Templates can be stored locally or globally inside the .swift-template directory. Local templates are being loaded from the current work dir, globals from the home folder. The system will prefer local templates (with the same name) over the global ones.

Parameters

You can use the following parameters in the templates (even in file names):

  • name - given module name

  • Name - given module name (capitalized first letter)

  • NAME - given module name (uppercased)

  • project - based on .xcodeproj or .xcworkspace name or input name

  • author - based on git config user name

  • date - current date in local short format

eg. {name} -> MyModule

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].