Documentation ¶
Index ¶
- Variables
- func CheckLogin()
- func CheckProvider(deploymentProvider providers.DeploymentProvider)
- func CheckVersion(force bool, encounteredError bool)
- func DetectedProjectMessage(printLoginSuccess bool, action string, commandFmt string)
- func Execute()
- func ExtractNetworkIDs(networkIDs string) []string
- func GetConfigPayload(providerConfig *providers.Config) *payloads.Config
- func GetProjectFromFlag(projectName string, projects []*model.Project, rest *rest.Rest) *model.Project
- func InitProvider()
- func NewRest() *rest.Rest
- func PromptNewDirectory(forMessage string, defaultPath string) string
- func PromptProjectSelect(projects []*model.Project, rest *rest.Rest, createNewOption bool) *model.Project
- func SetCurrentCLIVersion(version string)
- func WriteGlobalConfig()
- func WriteProjectConfig()
- func WrongFolderMessage(action string, commandFmt string)
- type ProjectConfiguration
- type ProjectConfigurationMap
- type TenderlyStandardFormatter
Constants ¶
This section is empty.
Variables ¶
View Source
var Colorizer aurora.Aurora
View Source
var CurrentCLIVersion string
View Source
var DeploymentProvider providers.DeploymentProvider
View Source
var RootCmd = &cobra.Command{
Use: "tenderly",
Short: "Tenderly CLI is a suite of development tools for smart contracts.",
Long: "Tenderly CLI is a suite of development tools for smart contracts which allows your to monitor and debug them on any network.\n\n" +
"To report a bug or give feedback send us an email at support@tenderly.co or join our Discord channel at https://discord.gg/eCWjuvt\n",
}
Functions ¶
func CheckLogin ¶
func CheckLogin()
func CheckProvider ¶ added in v0.8.0
func CheckProvider(deploymentProvider providers.DeploymentProvider)
func CheckVersion ¶
func DetectedProjectMessage ¶ added in v0.1.6
func ExtractNetworkIDs ¶ added in v1.2.0
func GetConfigPayload ¶ added in v0.9.0
func GetProjectFromFlag ¶ added in v1.2.0
func InitProvider ¶ added in v1.2.0
func InitProvider()
func PromptNewDirectory ¶ added in v1.2.0
func PromptProjectSelect ¶ added in v1.2.0
func SetCurrentCLIVersion ¶
func SetCurrentCLIVersion(version string)
func WriteGlobalConfig ¶
func WriteGlobalConfig()
func WriteProjectConfig ¶ added in v0.2.5
func WriteProjectConfig()
func WrongFolderMessage ¶ added in v0.1.6
Types ¶
type ProjectConfiguration ¶ added in v0.5.2
type ProjectConfiguration struct {
Networks []string
}
type ProjectConfigurationMap ¶ added in v0.5.2
type ProjectConfigurationMap map[string]*ProjectConfiguration
type TenderlyStandardFormatter ¶
type TenderlyStandardFormatter struct { }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.