mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-17 10:00:17 -05:00
Rationalise default mod creation Fix nil ref exception for mod commands when using legacy `requires` block --------- Co-authored-by: kai <kai@turbot.com>
12 lines
459 B
Go
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"))
|
|
)
|