Documentation ¶
Index ¶
- func AddFile(name string) error
- func AddFileAtPath(name string, path string) error
- func AddRequest(fpath, requestName string) error
- func Autoregister(cwd string) error
- func CancelScripts()
- func EditCollectionEnvTUI(fpath string) error
- func EditRequest(fpath, requestName string) error
- func ExecuteRequest(fpath, requestName, currentEnv string, overrides data.EnvMapValue) error
- func GetCollection(fpath string) (*data.Collection, error)
- func GetConfig() (*data.Config, error)
- func GetCurrentEnv() (string, error)
- func GetPreparedScript(fpath, requestName, currentEnv string, overrides data.EnvMapValue) (string, error)
- func ListCollections() ([]string, error)
- func PrintCoreInfo() error
- func PrintFileInfo(fpath string) error
- func Register(fpath string) error
- func RemoveCollection(fpath string) error
- func RemoveRequest(fpath, requestName string) error
- func SetCurrentEnv(newEnv string) error
- func Unregister(fpath string) error
- func UpdateCollectionEnv(fpath string, env data.EnvMap) error
- func UpdateCollectionName(fpath, newName string) error
- func UpdateRequestName(fpath, oldName, newName string) error
- func UpdateRequestScript(fpath, requestName string, newScript []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFileAtPath ¶
func AddRequest ¶
func Autoregister ¶
func CancelScripts ¶
func CancelScripts()
func EditCollectionEnvTUI ¶
func EditRequest ¶
func ExecuteRequest ¶
func ExecuteRequest(fpath, requestName, currentEnv string, overrides data.EnvMapValue) error
func GetCollection ¶
func GetCollection(fpath string) (*data.Collection, error)
func GetCurrentEnv ¶
func GetPreparedScript ¶
func GetPreparedScript(fpath, requestName, currentEnv string, overrides data.EnvMapValue) (string, error)
func ListCollections ¶
func PrintCoreInfo ¶
func PrintCoreInfo() error
func PrintFileInfo ¶
func RemoveCollection ¶
func RemoveRequest ¶
func SetCurrentEnv ¶
func Unregister ¶
func UpdateCollectionName ¶
func UpdateRequestName ¶
func UpdateRequestScript ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.