Documentation ¶
Index ¶
- func CapitalizeFirstWord(str string) string
- func GetAkamaiCliPath() (string, error)
- func GetAkamaiCliSrcPath() (string, error)
- func GetAkamaiCliVenvPath() (string, error)
- func GetPkgVenvPath(pkgName string) (string, error)
- func Githubize(repo string) string
- func InsertAfterNthWord(s, val string, index int) string
- func MoveFile(src, dst string) (err error)
- func Self() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CapitalizeFirstWord ¶ added in v1.4.1
CapitalizeFirstWord capitalizes only first character in the string
func GetAkamaiCliPath ¶
GetAkamaiCliPath returns the "$AKAMAI_CLI_HOME/.akamai-cli" value and tries to create it if not existing.
Errors out if:
* $AKAMAI_CLI_HOME is not defined
* $AKAMAI_CLI_HOME/.akamai-cli does not exist, and we cannot create it
func GetAkamaiCliSrcPath ¶
GetAkamaiCliSrcPath returns $AKAMAI_CLI_HOME/.akamai-cli/src
func GetAkamaiCliVenvPath ¶ added in v1.4.1
GetAkamaiCliVenvPath - returns the .akamai-cli/venv path, for Python virtualenv
func GetPkgVenvPath ¶ added in v1.4.1
GetPkgVenvPath - returns the package virtualenv path
func InsertAfterNthWord ¶ added in v1.5.0
InsertAfterNthWord inserts one string into another after the nth word specified by index
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.