Files
steampipe/pkg/workspace/workspace_error.go
Puskar Basu 3bdd2eedde Improve error message when running steampipe check/dashboard outside a mod and refactor default mod creation. Closes #3215
Rationalise default mod creation 
Fix nil ref exception for mod commands when using legacy `requires` block

---------

Co-authored-by: kai <kai@turbot.com>
2023-04-20 12:02:50 +01:00

12 lines
459 B
Go

package workspace
import (
"fmt"
"github.com/turbot/steampipe/pkg/constants"
)
var (
ErrorNoModDefinition = fmt.Errorf("This command requires a mod definition file (mod.sp) - could not find in the current directory tree.\n\nYou can either clone a mod repository or install a mod using %s and run this command from the cloned/installed mod directory.\nPlease refer to: https://steampipe.io/docs/mods/overview", constants.Bold("steampipe mod install"))
)