Documentation
¶
Index ¶
- func ApplyDirFlag(dir string) error
- func DiscoverForVault(vaultPath string) ([]string, error)
- func NewConfigCmd() *cobra.Command
- func NewEditCmd() *cobra.Command
- func NewEnvsCmd() *cobra.Command
- func NewExecCmd() *cobra.Command
- func NewExportCmd() *cobra.Command
- func NewFileCmd() *cobra.Command
- func NewGetCmd() *cobra.Command
- func NewImportCmd() *cobra.Command
- func NewInitCmd() *cobra.Command
- func NewInspectCmd() *cobra.Command
- func NewInstallCmd() *cobra.Command
- func NewNewCmd() *cobra.Command
- func NewOverrideCmd() *cobra.Command
- func NewRawCmd() *cobra.Command
- func NewRotateKeyCmd() *cobra.Command
- func NewSetCmd() *cobra.Command
- func NewTreeCmd() *cobra.Command
- func NewUninstallCmd() *cobra.Command
- func NewUnsetCmd() *cobra.Command
- func NewVaultCmd() *cobra.Command
- func NewViewCmd() *cobra.Command
- func OriginalDir() string
- func SetConfigFile(path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDirFlag ¶ added in v0.1.76
ApplyDirFlag changes the working directory to dir when non-empty. This makes all relative paths in the config resolve against the target project root.
func DiscoverForVault ¶ added in v0.1.66
DiscoverForVault returns all .ward files under the given vault path.
func NewConfigCmd ¶
func NewEditCmd ¶
func NewEnvsCmd ¶
func NewExecCmd ¶
func NewExportCmd ¶
func NewFileCmd ¶ added in v0.1.76
func NewImportCmd ¶ added in v0.1.76
func NewInitCmd ¶
func NewInspectCmd ¶
func NewInstallCmd ¶ added in v0.1.51
func NewOverrideCmd ¶
NewOverrideCmd is the deprecated alias of `import`. It still works but is hidden from help and prints a deprecation notice after running.
func NewRotateKeyCmd ¶ added in v0.1.76
func NewTreeCmd ¶ added in v0.1.76
func NewUninstallCmd ¶ added in v0.1.56
func NewUnsetCmd ¶ added in v0.1.76
func NewVaultCmd ¶ added in v0.1.66
func NewViewCmd ¶
NewViewCmd is the deprecated alias of `tree`. It still works but is hidden from help and prints a deprecation notice after running.
func OriginalDir ¶
func OriginalDir() string
OriginalDir returns the working directory before ward changed to the project root.
func SetConfigFile ¶
func SetConfigFile(path string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.