go-spawn

command module
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: MIT Imports: 1 Imported by: 0

README

go-spawn

Under Development

A cli tool written in go for project templating, scaffolding, and text-replacement

Install

Mac
Intel
wget https://github.com/timharris777/go-spawn/releases/latest/download/go-spawn-darwin-amd64 -O /usr/local/bin/go-spawn && chmod +x /usr/local/bin/go-spawn
Arm
wget https://github.com/timharris777/go-spawn/releases/latest/download/go-spawn-darwin-arm64 -O /usr/local/bin/go-spawn && chmod +x /usr/local/bin/go-spawn
Linux
x64
wget https://github.com/timharris777/go-spawn/releases/latest/download/go-spawn-linux-amd64 -O /usr/local/bin/go-spawn && chmod +x /usr/local/bin/go-spawn
Arm
wget https://github.com/timharris777/go-spawn/releases/latest/download/go-spawn-linux-arm64 -O /usr/local/bin/go-spawn && chmod +x /usr/local/bin/go-spawn
Windows

Go to https://github.com/timharris777/go-spawn/releases/latest and download the appropriate exe file.

Usage

A cli tool written in go for project templating, scaffolding, and text-replacement

Usage:
  go-spawn [flags]

Flags:
  -d, --debug              folder to output rendered templates
  -h, --help               help for go-spawn
  -i, --input string       provide a yaml file that has inputs for templating
      --inputFromPipe      provide input from pipe
  -o, --output string      folder to output rendered templates
  -t, --template string    path to template file or folder. Folder requires --output option
      --templateFromPipe   provide template from pipe

Examples

A basic use case
Coming soon...
Render by piping template and providing input directly
Coming soon...
Render by piping input and providing template directly
Coming soon...
Render a template directory
Coming soon...

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL