Discover Packages
github.com/deveshpharswan/stackup
internal
onboard
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: May 9, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package onboard provides interactive .env creation for new team members.
NeedsOnboarding returns true if the .env file does not exist.
type Onboarder struct {
}
Onboarder walks new developers through creating a .env file interactively.
New creates an Onboarder that reads from r, writes prompts to w,
and uses the provided schema for defaults and descriptions.
Run shows available keys from .env.example and schema, prompts the user for
values, and creates the envFile. Returns nil on success or an error if the
user cancels.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.