Documentation
¶
Overview ¶
Package kickoff provides a CLI tool for bootstrapping projects from skeleton directories. The skeletons can contain any kind of files and special *.skel files which will be evaluated using the golang template engine.
The tool was initial meant for bootstrapping golang projects, but it is actually language agnostic as the skeletons do not need to be golang specific.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
kickoff
command
|
|
|
internal
|
|
|
cli
Package cli contains utilities to work with IO streams and to improve CLI output, such as a custom log handler and a table writer.
|
Package cli contains utilities to work with IO streams and to improve CLI output, such as a custom log handler and a table writer. |
|
cmdutil
Package cmdutil provides utilities that are shared between multiple commands like flags, documentation helpers and errors.
|
Package cmdutil provides utilities that are shared between multiple commands like flags, documentation helpers and errors. |
|
file
Package file provides utility functionality for working with files and directories.
|
Package file provides utility functionality for working with files and directories. |
|
filetree
Package filetree provides a tree type which can be used to build and print file trees of skeletons.
|
Package filetree provides a tree type which can be used to build and print file trees of skeletons. |
|
git
Package git provides an abstraction over github.com/go-git/go-git/v5 to make it easy to mock out remote git operations in tests.
|
Package git provides an abstraction over github.com/go-git/go-git/v5 to make it easy to mock out remote git operations in tests. |
|
gitignore
Package gitignore provides an interface to gitignore.io to fetch gitignore templates.
|
Package gitignore provides an interface to gitignore.io to fetch gitignore templates. |
|
homedir
Package homedir provides functionality to expand `~` to the absolute home directory of a user and vice-versa.
|
Package homedir provides functionality to expand `~` to the absolute home directory of a user and vice-versa. |
|
license
Package license provides an adapter to fetch license texts from the GitHub Licenses API.
|
Package license provides an adapter to fetch license texts from the GitHub Licenses API. |
|
skeleton
Package skeleton contains types that define the structure of a skeleton and its config.
|
Package skeleton contains types that define the structure of a skeleton and its config. |
|
template
Package template provides tools to render template strings and template files.
|
Package template provides tools to render template strings and template files. |
|
version
Package version contains kickoff version info which is set via build args.
|
Package version contains kickoff version info which is set via build args. |
Click to show internal directories.
Click to hide internal directories.